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
This commit is contained in:
parent
c19a67f957
commit
be28dac578
@ -29,7 +29,7 @@ const char *inputFile = NULL;
|
||||
BString outputFile;
|
||||
const char *catalogSig = NULL;
|
||||
const char *catalogLang = "English";
|
||||
BString rxString("(BCatalogStub::GetCatalog()\\s*->\\s*GetString\\s*"
|
||||
BString rxString("(BCatalogStub::GetCatalog\\(\\)\\s*->\\s*GetString\\s*"
|
||||
"|BCatalogAddOn\\s*::\\s*MarkForTranslation\\s*)");
|
||||
|
||||
|
||||
@ -52,7 +52,7 @@ usage()
|
||||
" -o <outfile>\t\texplicitly specifies the name of the output-file\n"
|
||||
" -p\t\t\tprint keys as they are found\n"
|
||||
" -r <regex>\t\tchanges the regex used by the key-scanner to the one given,\n"
|
||||
" \t\t\tthe default is: be_catalog\\s*->\\s*GetString\\s*\n"
|
||||
" \t\t\tthe default is: BCatalogStub::GetCatalog\\(\\)\\s*->\\s*GetString\\s*\n"
|
||||
" -s <catalogSig>\tsignature of the target-catalog\n"
|
||||
" -v\t\t\tbe verbose, show summary\n"
|
||||
" -w\t\t\tshow warnings about catalog-accesses that couldn't be resolved completely\n");
|
||||
|
@ -28,7 +28,7 @@ const char *inputFile = NULL;
|
||||
BString outputFile;
|
||||
const char *catalogSig = NULL;
|
||||
const char *catalogLang = "English";
|
||||
BString rxString("(BCatalogStub::GetCatalog()\\s*->\\s*GetString\\s*"
|
||||
BString rxString("(BCatalogStub::GetCatalog\\(\\)\\s*->\\s*GetString\\s*"
|
||||
"|BCatalogAddOn\\s*::\\s*MarkForTranslation\\s*)");
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user