[sword-devel] List of global options
Troy A. Griffitts
scribe at crosswire.org
Mon May 5 17:43:48 MST 2008
The SWORD engine has a built in localization mechanism anyone can use to
localize their application. I understand if people want to use a more
native method. If we do any localizations for these engine strings then
we will use the engine's mechanism and place the translations with all
the other strings in our current locales.d/ files.
For example, if we wanted to localize the tips for, say Strong's
Numbers, we would place this entry in, say, de.conf, under the:
[Text] section
Toggles Strong's Numbers On and Off if they exist=<german translation of
this string>
Then the engine would change getGlobalOptionTip(...) to call on return:
return LocalMgr::getSystemLocaleMgr()->translate(tipString);
I'm not against adding translations for the tips, but I would want
everyone to review the current tips and decide if they are what we want
for good, before translating these strings into a ton of languages.
-Troy.
Peter von Kaehne wrote:
> Peter von Kaehne wrote:
>> Peter von Kaehne wrote:
>>>> There's a spec, so anyone up for doing that? (Or anyone with a better idea? ;) )
>>> This sounds roughly at the level where I am, but for the last step -
>>> creating a pot file. I haven't done that yet ever.
>>>
>>> But I will run with it and see where I end up.
>>>
>> guess this is what you meant? (including main and beta modules)
>>
>> cat * | grep Option | sort -u > list
>>
>> GlobalOptionFilter=GBFFootnotes
>> GlobalOptionFilter=GBFFootnotes
>> GlobalOptionFilter=GBFMorph
>> GlobalOptionFilter=GBFRedLetterWords
>> GlobalOptionFilter=GBFStrongs
>> GlobalOptionFilter=OSISFootnotes
>> GlobalOptionFilter=OSISHeadings
>> GlobalOptionFilter=OSISMorph
>> GlobalOptionFilter=OSISMorphSegmentation
>> GlobalOptionFilter=OSISRedLetterWords
>> GlobalOptionFilter=OSISScripref
>> GlobalOptionFilter=OSISStrongs
>> GlobalOptionFilter=ThMLFootnotes
>> GlobalOptionFilter=ThMLHeadings
>> GlobalOptionFilter=ThMLMorph
>> GlobalOptionFilter=ThMLScripref
>> GlobalOptionFilter=ThMLStrongs
>> GlobalOptionFilter=ThMLVariants
>> GlobalOptionFilter=UTF8Cantillation
>> GlobalOptionFilter=UTF8HebrewPoints
>>
>> Peter
>>
>> _______________________________________________
>> sword-devel mailing list: sword-devel at crosswire.org
>> http://www.crosswire.org/mailman/listinfo/sword-devel
>> Instructions to unsubscribe/change your settings at above page
> And this is the slightly longer list gained from following commandline
>
> peter at thinkpad:~/Downloads/Crosswire/sword/src$ cat mgr/swmgr.cpp | grep
> -e optionFilters.insert | sed
> s,optionFilters\.insert\(OptionFilterMap\:\:value_type\(\",, | sed
> s/\",\ tmpFilter\)\)\;//
>
>
> ThMLVariants
> GBFStrongs
> GBFFootnotes
> GBFRedLetterWords
> GBFMorph
> GBFHeadings
> OSISHeadings
> OSISStrongs
> OSISMorph
> OSISLemma
> OSISFootnotes
> OSISScripref
> OSISRedLetterWords
> OSISMorphSegmentation
> ThMLStrongs
> ThMLFootnotes
> ThMLMorph
> ThMLHeadings
> ThMLLemma
> ThMLScripref
> UTF8GreekAccents
> UTF8HebrewPoints
> UTF8Cantillation
> GreekLexAttribs
> PapyriPlain
> UTF8Transliterator
>
>
> _______________________________________________
> sword-devel mailing list: sword-devel at crosswire.org
> http://www.crosswire.org/mailman/listinfo/sword-devel
> Instructions to unsubscribe/change your settings at above page
More information about the sword-devel
mailing list