aboutsummaryrefslogtreecommitdiff
path: root/backends/platform
diff options
context:
space:
mode:
authorThierry Crozat2010-08-23 19:45:14 +0000
committerThierry Crozat2010-08-23 19:45:14 +0000
commitbc821136fdf2c82c1877c8ae0e607bcbe784dab1 (patch)
tree848141a4994e5bd13e8a7a9a304777e251927468 /backends/platform
parent45a87ffe3fb76ae4e75d97271c0567809bd088d0 (diff)
downloadscummvm-rg350-bc821136fdf2c82c1877c8ae0e607bcbe784dab1.tar.gz
scummvm-rg350-bc821136fdf2c82c1877c8ae0e607bcbe784dab1.tar.bz2
scummvm-rg350-bc821136fdf2c82c1877c8ae0e607bcbe784dab1.zip
i18n: Add support for context in translations.
This change means there can now be different translations for the same english string depending on the context. It is based on gettext msgctxt feature. There is a new macro _c(msg, ctxt) that should be used instead of _(msg) in the source code when we want to add a context to the message. For the moment I have added contexts to only one message ("None") so that I could test the changes. Context could be added also to get shorter translations when GUI is in 1x mode. I have also added back the fuzzy option to msmerge since it is useful when adding contexts to populate the translations for the new contexts. svn-id: r52308
Diffstat (limited to 'backends/platform')
0 files changed, 0 insertions, 0 deletions