#
541ff51a |
|
15-Apr-2012 |
Oliver Tappe <zooey@hirschkaefer.de> |
Cleanup BCatalogAddOn. * rename BCatalogAddOn to BCatalogData, since it doesn't represent an add-on, but rather the catalog data provided by an add-on * move BCatalogData out of Catalog.{h,cpp} into its own header and implementation file * drop BCatalogData::MarkForTranslation() methods, they're not needed * drop BCatalog::GetNoAutoCollectString() methods, they're not being used anywhere * cleanup the B_TRANSLATE_... macros somewhat * add versions of the B_TRANSLATE_MARK_... macros that are meant to be used in void context (when the string isn't being used by the program, just meant to be picked up by collectcatkeys). * adjust several apps to use B_TRANSLATE_MARK_..._VOID where needed * adjust users of BCatalogAddOn accordingly
|
#
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)
|
#
16e50923 |
|
14-Apr-2012 |
Oliver Tappe <zooey@hirschkaefer.de> |
Extract EditableCatalog from Catalog.{h,cpp}. * move EditableCatalog to its own header and implementation file * move problematic BCatalog::CatalogAddOn() to EditableCatalog * adjust Locale tools accordingly
|
#
1a5c1f9e |
|
01-Nov-2011 |
Adrien Destugues <pulkomandy@pulkomandy.ath.cx> |
* Use const references instead of pointers for the read from/write to attribute/resource method in locale kit catalogs * Only load the embedded catalog if nothing else was found, so it can easily be overridden * Change the resource type to 'CADA' (CAtalog DAta) for embedded catalogs, and use a hash of the language code as the resource ID. This allows multiple languages to be stored in the same file and does not interfere with the user storing his own BMessages as resources. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43057 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
d25dd4b9 |
|
12-Apr-2010 |
Jérôme Duval <korli@users.berlios.de> |
some copyright headers clean up git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36203 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
|
#
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
|
#
541ff51a6ef4c47f8ab105ba6ff895cdbba83aca |
|
15-Apr-2012 |
Oliver Tappe <zooey@hirschkaefer.de> |
Cleanup BCatalogAddOn. * rename BCatalogAddOn to BCatalogData, since it doesn't represent an add-on, but rather the catalog data provided by an add-on * move BCatalogData out of Catalog.{h,cpp} into its own header and implementation file * drop BCatalogData::MarkForTranslation() methods, they're not needed * drop BCatalog::GetNoAutoCollectString() methods, they're not being used anywhere * cleanup the B_TRANSLATE_... macros somewhat * add versions of the B_TRANSLATE_MARK_... macros that are meant to be used in void context (when the string isn't being used by the program, just meant to be picked up by collectcatkeys). * adjust several apps to use B_TRANSLATE_MARK_..._VOID where needed * adjust users of BCatalogAddOn accordingly
|
#
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)
|
#
16e5092306efca466d27519953cdbb803f3d5f5e |
|
14-Apr-2012 |
Oliver Tappe <zooey@hirschkaefer.de> |
Extract EditableCatalog from Catalog.{h,cpp}. * move EditableCatalog to its own header and implementation file * move problematic BCatalog::CatalogAddOn() to EditableCatalog * adjust Locale tools accordingly
|
#
1a5c1f9ed57fae37829befc007cd51c32205c1cd |
|
01-Nov-2011 |
Adrien Destugues <pulkomandy@pulkomandy.ath.cx> |
* Use const references instead of pointers for the read from/write to attribute/resource method in locale kit catalogs * Only load the embedded catalog if nothing else was found, so it can easily be overridden * Change the resource type to 'CADA' (CAtalog DAta) for embedded catalogs, and use a hash of the language code as the resource ID. This allows multiple languages to be stored in the same file and does not interfere with the user storing his own BMessages as resources. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43057 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
d25dd4b92033d7ee4e7640f7f8a08d98a8e24800 |
|
12-Apr-2010 |
Jérôme Duval <korli@users.berlios.de> |
some copyright headers clean up git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36203 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
|
#
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
|