maxim
da14845df3
LCL: fixed license header in lcltranslator.pas file and removed license header from defaulttranslator.pas file (it has no copyrightable code)
...
git-svn-id: trunk@61606 -
2019-07-19 23:09:25 +00:00
maxim
114df2b6b6
LCLTranslator: allow to optionally specify the name of translation file. Based on patch by Alfred, bug #34836 . As SetDefaultLang signature is changed (in order to not force users specify 'obscure' ForceUpdate parameter if they want to set translation name), adapted DefaultTranslator unit to these changes.
...
git-svn-id: trunk@60097 -
2019-01-17 00:08:03 +00:00
joost
1de2cbf586
general: Updated address of the Free Software Foundation in copyright messages
...
git-svn-id: trunk@54031 -
2017-01-29 21:04:32 +00:00
maxim
cb3d2173e1
LCL, LCLTranslator: allow specifying custom translation files subdirectory when calling SetDefaultLang, bug #26688
...
git-svn-id: trunk@47312 -
2015-01-06 00:14:56 +00:00
maxim
8664b260d9
LCL: factored LCLTranslator unit out of DefaultTranslator. LCLTranslator does not call SetDefaultLang in its initialization section, allowing user to do it manually. DefaultTranslator still does it as before, thus keeping previous behaviour for compatibility.
...
Bug 26631.
git-svn-id: trunk@47310 -
2015-01-05 16:54:28 +00:00
maxim
dfe9c8ba18
LCL, DefaultTranslator: reduce code duplication, patch from Mario Ray Mahardhika, bug #23986
...
git-svn-id: trunk@40470 -
2013-03-03 22:26:46 +00:00
maxim
caf6b21874
LCL, DefaultTranslator: translate Frame owned components too, patch by wp with minor changes, bug #23820
...
git-svn-id: trunk@40164 -
2013-02-03 21:52:11 +00:00
maxim
667949cd95
LCL, DefaultTranslator: fix handling of non-ASCII path to .po file, bug #22907 , patch by Vladimir Zhirov
...
git-svn-id: trunk@38720 -
2012-09-17 19:53:23 +00:00
maxim
413a275982
LCL, DefaultTranslator: added ability to change translation at runtime, patch by Joost van der Sluis
...
git-svn-id: trunk@37959 -
2012-07-16 20:08:10 +00:00
mattias
3168fd2e6e
LCL: lrs object reader/writer: write unique paths string properies for collection items and frames, patch #16742
...
git-svn-id: trunk@29201 -
2011-01-25 18:50:14 +00:00
maxim
7daa7004e0
DefaultTranslator: make --lang commandline parameter override all other methods of getting LanguageID. Patch from Stephano, bug #17218 .
...
git-svn-id: trunk@27158 -
2010-08-20 20:20:23 +00:00
maxim
9778743866
DefaultTranslator: translate resourcestrings if they are present
...
git-svn-id: trunk@27154 -
2010-08-20 01:37:54 +00:00
maxim
137bc3280e
DefaultTranslator: fix typo (bug #17046 ) and update comments.
...
git-svn-id: trunk@26881 -
2010-07-28 22:25:30 +00:00
maxim
754af06409
LCL, DefaultTranslator:
...
1) Fix translation of captions in different forms, but with the same values (don't take first found translation, check also message name) when using PO files.
2) Create message name according to the rules used for creating it in LRT files after r25431 #99c23d89c7.
3) Impove code readability.
4) Cleanup.
git-svn-id: trunk@25440 -
2010-05-15 18:16:07 +00:00
maxim
6645384685
LCL DefaultTranslator unit:
...
1) Removed useless TranslateResourceStrings call when translating using .mo files;
2) Fixed path to LCL translation .mo file
git-svn-id: trunk@23881 -
2010-03-08 18:40:28 +00:00
jesus
22d29913c1
LCL, Modified DefaultTranslator unit so it works with po files too, class TPoTranslator by Maxim Ganetski
...
git-svn-id: trunk@23792 -
2010-02-25 19:14:06 +00:00
paul
6e58d63e16
lcl: default translator - search section better
...
git-svn-id: trunk@23224 -
2009-12-22 04:36:00 +00:00
paul
d4b181ab2b
lcl: fix DefaultTranslator to work with TPersistent (issue #0014984 )
...
git-svn-id: trunk@23223 -
2009-12-22 04:19:51 +00:00
paul
ec44830e10
lcl: defaulttranslator - cleanup and formatting
...
git-svn-id: trunk@23221 -
2009-12-22 03:08:26 +00:00
mattias
f0afca08f5
LCL: reduced debugging under wince
...
git-svn-id: trunk@22777 -
2009-11-25 22:16:26 +00:00
mattias
8cb3925298
LCL: defaulttranslator: using property path, bug #12964 , thanks to Klaus Reimer
...
git-svn-id: trunk@21242 -
2009-08-16 09:57:14 +00:00
paul
d981475609
lcl: cleanup
...
git-svn-id: trunk@20906 -
2009-07-20 13:04:35 +00:00
tombo
b16ed5daef
LCL + IDE - fixed 0014108: DefaultTranslator doesn't recognize locale on Mac OS X with help from Alexandr Grau, the supported language IDs should be added into the application bundle property list to CFBundleLocalizations key, see lazarus.app/Contents/Info.plist for example
...
git-svn-id: trunk@20896 -
2009-07-19 12:20:22 +00:00
paul
6285c8757d
lcl: default translator
...
- don't use directory separator after ExtractFilePath()
- convert utf8 path strings to the system encoding when we pass it to the rtl/fcl (fixes bug #0012783 )
git-svn-id: trunk@18648 -
2009-02-12 14:44:56 +00:00
paul
e2d9e217f5
lcl: fix memory leak in the default translator by Vladimir Zhirov (bug #0012710 )
...
git-svn-id: trunk@18647 -
2009-02-12 14:14:27 +00:00
mattias
69cfe88898
using UTF-8 for file operations and environment variables
...
git-svn-id: trunk@16236 -
2008-08-25 22:32:23 +00:00
vincents
78c0168346
LCL: clean up of defaulttranslator from Luis Rodrigues ( #9942 )
...
git-svn-id: trunk@12598 -
2007-10-26 14:32:11 +00:00
mattias
f20081a879
IDE: improved and enabled creation of .lrt files and combining all .rst/.lrt files into one .po files per project. ToDo: do the same for packages. From Luis Rodrigues
...
git-svn-id: trunk@12344 -
2007-10-06 13:59:31 +00:00
mattias
994cebd433
replaced IFDEF win32 with IF defined(VER2_0_2) and defined(WIN32)
...
git-svn-id: trunk@8759 -
2006-02-17 14:07:21 +00:00
mattias
c17929dd5f
fixes for compiling wince
...
git-svn-id: trunk@8757 -
2006-02-17 13:57:15 +00:00
vincents
a0311c2cba
removed cvs logs
...
git-svn-id: trunk@7541 -
2005-08-22 12:30:03 +00:00
mattias
3ead829ef6
updated russian translation from VVI
...
git-svn-id: trunk@6536 -
2005-01-10 19:01:36 +00:00
mattias
24f64d8bf8
started TTranslateStrings and .lrt files support from Vasily
...
git-svn-id: trunk@6423 -
2004-12-27 12:56:42 +00:00