#
969c176d |
|
05-Oct-2020 |
Murai Takashi <tmurai01@gmail.com> |
tools/locale: Fix -Wformat= Change-Id: I2261a75e32a78fb3e43735bc9c616e101d6d39f5 Reviewed-on: https://review.haiku-os.org/c/haiku/+/3313 Reviewed-by: Jérôme Duval <jerome.duval@gmail.com>
|
#
4b4a2b68 |
|
28-Apr-2015 |
Adrien Destugues <pulkomandy@gmail.com> |
Collectcatkeys: PVS1632: unsafe fprintf (harmless).
|
#
5ac65b7f |
|
14-Apr-2012 |
Oliver Tappe <zooey@hirschkaefer.de> |
More cleanup in locale kit, this time regarding namespaces. * it's bad practice to do a 'using <namespace>' in a header, as that is very likely to have unintended effects, so drop those from a couple of private Locale headers * adjust files all over the locale kit in order to fix the problems (by explicitly importing the required classes in the implementation files)
|
#
ad516863 |
|
25-Jul-2010 |
Oliver Tappe <zooey@hirschkaefer.de> |
* improved the locale kit build rules and headers to use a different set of B_TRANSLATE-macros when running collectcatkeys, simplifying the regex a lot * added B_TRANSLATE_NOCOLLECT...-macros for the case where a non-literal string shall be translated, but not picked up by collectcatkeys git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37746 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
68e01661 |
|
25-Jul-2010 |
Oliver Tappe <zooey@hirschkaefer.de> |
* revert what should not have been part of r37723 Thanks to Rene for pointing it out git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37734 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
b891b0ac |
|
23-Jul-2010 |
Oliver Tappe <zooey@hirschkaefer.de> |
* broke out locale-related jam rules into their own file, LocaleRules * made locale build tools shut up about anything except warnings or errors git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37723 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
fe8d7c02 |
|
20-Jul-2010 |
Adrien Destugues <pulkomandy@pulkomandy.ath.cx> |
* Remove the CatalogStub class and put the Gatcatalog function directly in BLocaleRoster, * Adjust the B_TRANSLATE macros to take this into account * Adjust collectkatkeys to take it into account too Thanks to Ingo for explaining me all the technical details about hiding things in shared objects. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37616 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
be28dac5 |
|
05-Jul-2010 |
Adrien Destugues <pulkomandy@pulkomandy.ath.cx> |
A wrongly escaped regexp in collectcatkeys made it not find any strings to translate. Thanks to mt for noticing! git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37401 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
be8fa2fb |
|
02-Jul-2010 |
Adrien Destugues <pulkomandy@pulkomandy.ath.cx> |
* Update all applications in tree to use the new localizing system * Remove the old one from the locale librairy, with some cleanup Known regressions : * readonlybootprompt will no longer update the locale settings : the method used messed with internal undocumented things * external localized apps (webpositive for example) will not run anymore. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37336 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
0a255c0c |
|
27-Sep-2009 |
Adrien Destugues <pulkomandy@pulkomandy.ath.cx> |
Cleanup of the locale kit tools : -Jamrule for collectcatkeys no longer print all the strings, only a message when it can't parse one (happens for TR(variable) basically) -Added fingerprint check in the plaintext catalog ReadFromFile. However, the adler checksum is different each time the catalog is loaded because it relies on the string being iterated always in the same order, but this is not always the case with an HashMap ! Some rethinking is needed, so disabled the check for now so it does not breaks the build -Some try to debug the bluetooth preflet localization. Still buggy, but I wanted to commit all this mess before I break everything up again. -Also sorted the fr.catkeys files to be in the same order as the autogenerated en.catkeys (this is useless but makes them easier to check) and updated their fingerprint even if they are still not checked. -Miscelaneous style fixes, small bugfixes, more error checking and error messages saying where they come from. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33322 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
b2543193 |
|
20-Sep-2009 |
Adrien Destugues <pulkomandy@pulkomandy.ath.cx> |
-Started to localize the appearance preflet to find more locale kit bugs. It worked. -MarkForTranslation was not scanned by collectcatkeys, improved the regexp to take it into account -Some gristing was missing in jamrules, added a bit, still seem to miss some. -Replaced $(var:B).ext with $(var:S=.ext) as it is the proper way in order not to loose grist and mess things up -Removed icu include and replaced direct class nesting with pointer to avoid binary compatibility breakage on ICU updates. -Fixed TimeFormatSettingsView to properly include needed icu things. Should not be there, actually. Needs cleanup. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33210 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
75f15221 |
|
18-Sep-2009 |
Oliver Tappe <zooey@hirschkaefer.de> |
* reintegrated gsoc-locale-kit branch into trunk - there's more work to do, but it's about time to give this code more exposure. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33176 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
4b4a2b684ca341cbbb2a7d217833b639ea60cc79 |
|
28-Apr-2015 |
Adrien Destugues <pulkomandy@gmail.com> |
Collectcatkeys: PVS1632: unsafe fprintf (harmless).
|
#
5ac65b7f11e3cec39f7f1540558884427fec935d |
|
14-Apr-2012 |
Oliver Tappe <zooey@hirschkaefer.de> |
More cleanup in locale kit, this time regarding namespaces. * it's bad practice to do a 'using <namespace>' in a header, as that is very likely to have unintended effects, so drop those from a couple of private Locale headers * adjust files all over the locale kit in order to fix the problems (by explicitly importing the required classes in the implementation files)
|
#
ad516863532f9b1ad947b88c329d498cfcd5971b |
|
25-Jul-2010 |
Oliver Tappe <zooey@hirschkaefer.de> |
* improved the locale kit build rules and headers to use a different set of B_TRANSLATE-macros when running collectcatkeys, simplifying the regex a lot * added B_TRANSLATE_NOCOLLECT...-macros for the case where a non-literal string shall be translated, but not picked up by collectcatkeys git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37746 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
68e0166113c9f05a3feee127ea8bd6e0ca97c550 |
|
25-Jul-2010 |
Oliver Tappe <zooey@hirschkaefer.de> |
* revert what should not have been part of r37723 Thanks to Rene for pointing it out git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37734 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
b891b0acaeb1ff1980ebb6af6b6768ec9b9be8d0 |
|
23-Jul-2010 |
Oliver Tappe <zooey@hirschkaefer.de> |
* broke out locale-related jam rules into their own file, LocaleRules * made locale build tools shut up about anything except warnings or errors git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37723 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
fe8d7c0225bd8e782b0a9b281d895bde6bbcc15e |
|
20-Jul-2010 |
Adrien Destugues <pulkomandy@pulkomandy.ath.cx> |
* Remove the CatalogStub class and put the Gatcatalog function directly in BLocaleRoster, * Adjust the B_TRANSLATE macros to take this into account * Adjust collectkatkeys to take it into account too Thanks to Ingo for explaining me all the technical details about hiding things in shared objects. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37616 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
be28dac578d5e5cf4c4752631869d3f2f45178c7 |
|
05-Jul-2010 |
Adrien Destugues <pulkomandy@pulkomandy.ath.cx> |
A wrongly escaped regexp in collectcatkeys made it not find any strings to translate. Thanks to mt for noticing! git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37401 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
be8fa2fb3088ab1921612b60f352dd9334b40b3d |
|
02-Jul-2010 |
Adrien Destugues <pulkomandy@pulkomandy.ath.cx> |
* Update all applications in tree to use the new localizing system * Remove the old one from the locale librairy, with some cleanup Known regressions : * readonlybootprompt will no longer update the locale settings : the method used messed with internal undocumented things * external localized apps (webpositive for example) will not run anymore. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37336 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
0a255c0c6ae855ad798a5bb518b0e9efd808a8c2 |
|
27-Sep-2009 |
Adrien Destugues <pulkomandy@pulkomandy.ath.cx> |
Cleanup of the locale kit tools : -Jamrule for collectcatkeys no longer print all the strings, only a message when it can't parse one (happens for TR(variable) basically) -Added fingerprint check in the plaintext catalog ReadFromFile. However, the adler checksum is different each time the catalog is loaded because it relies on the string being iterated always in the same order, but this is not always the case with an HashMap ! Some rethinking is needed, so disabled the check for now so it does not breaks the build -Some try to debug the bluetooth preflet localization. Still buggy, but I wanted to commit all this mess before I break everything up again. -Also sorted the fr.catkeys files to be in the same order as the autogenerated en.catkeys (this is useless but makes them easier to check) and updated their fingerprint even if they are still not checked. -Miscelaneous style fixes, small bugfixes, more error checking and error messages saying where they come from. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33322 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
b25431936010250e5ddd6d526a8788b391b77c12 |
|
20-Sep-2009 |
Adrien Destugues <pulkomandy@pulkomandy.ath.cx> |
-Started to localize the appearance preflet to find more locale kit bugs. It worked. -MarkForTranslation was not scanned by collectcatkeys, improved the regexp to take it into account -Some gristing was missing in jamrules, added a bit, still seem to miss some. -Replaced $(var:B).ext with $(var:S=.ext) as it is the proper way in order not to loose grist and mess things up -Removed icu include and replaced direct class nesting with pointer to avoid binary compatibility breakage on ICU updates. -Fixed TimeFormatSettingsView to properly include needed icu things. Should not be there, actually. Needs cleanup. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33210 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
75f152215517c2af1a93938f46d3156503329a5e |
|
18-Sep-2009 |
Oliver Tappe <zooey@hirschkaefer.de> |
* reintegrated gsoc-locale-kit branch into trunk - there's more work to do, but it's about time to give this code more exposure. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33176 a95241bf-73f2-0310-859d-f6bbb57e9c96
|