Age | Commit message (Collapse) | Author |
|
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
|
|
Until now the parsing was done by the po2c perl script, which
generated a messages.h file. The create_translations executable
had then to be recompiled before being executed. This commit
removes the po2c perl script. The parsing is now directly done by
the create_translations tool.
The parsing has also been extended to support the msgctxt strings.
This is not dumped yet in translations.dat but will be once I have
finished implementing context support for the translations.
svn-id: r52284
|
|
When updating the template pot file from source code and then
merging it with existing translations po file, it was trying to translate
automatically new string using a fuzzy matching. I have never seen
it work, so I am disabling the option. I prefer to have an untranslated
string rather than a wrongly translated string. And after discussing
with another translator it seems I am not the only one.
svn-id: r52233
|
|
svn-id: r52208
|
|
svn-id: r52062
|
|
svn-id: r52014
|
|
Template and all translations were updated from source code. The
German and French translations contain additional changes.
svn-id: r52008
|
|
These devices are not able to create appropriate drivers.
The only purpose for now is having proper gui options and flags and music types for the device detector.
The corresponding GUIO flags for the new devices have been added, too.
svn-id: r51995
|
|
svn-id: r51596
|
|
svn-id: r51574
|
|
The GUI now uses the content of the Language field from the po file
header if it is present and not empty for the language selection
PopupWidget. If not present it uses the file name as before (e.g.
ru_RU).
Also update all the translation template and all the translation files.
svn-id: r51542
|
|
credits files.
svn-id: r50821
|
|
svn-id: r50808
|
|
translatable string. French and German translations also have additional updates.
svn-id: r50764
|
|
Also update the template file and all the other translation files (there is quite a lot of line numbers that have changed).
svn-id: r50540
|
|
svn-id: r50461
|
|
svn-id: r50394
|
|
svn-id: r50393
|
|
svn-id: r50386
|
|
svn-id: r50381
|
|
In recent discussions on -devel it turned out, that this
feature is rather superfluous and instead we should rather
implement a proper error reporting in our GUI.
I also removed the dependency on iconv along with this.
svn-id: r50335
|
|
svn-id: r50328
|
|
svn-id: r50327
|
|
svn-id: r50247
|
|
svn-id: r50245
|
|
svn-id: r50238
|
|
support caused by patch #1956501
svn-id: r50145
|
|
svn-id: r50128
|
|
320x200 but french can be quite verbose, so in a few places it does not fit. Also I could not check any of the device specific strings (e.g. from WinCE, Wii or other backends) and a few are missing.
svn-id: r50068
|
|
svn-id: r50052
|
|
update-translations update common/messages.cpp directly.
svn-id: r50051
|
|
svn-id: r50003
|
|
systems, where perl is not installed in /usr/bin/perl.
svn-id: r49992
|
|
but require the user to do "make update-translations".
This should be helpful for building on a system without perl.
svn-id: r49991
|
|
svn-id: r49945
|
|
(Whoops...)
svn-id: r49944
|
|
svn-id: r49943
|
|
svn-id: r49942
|
|
svn-id: r49870
|
|
svn-id: r49799
|
|
Translations were not updated.
svn-id: r49797
|
|
svn-id: r49780
|
|
svn-id: r49776
|
|
Implement radiobuttons in GUI. Also closes FR #2821529:
"GUI: volume and subtitles speed sliders".
Subtitle toggle button is replaced by three radiobuttons grouped
by a single group.
Updated translations and themes.
svn-id: r49767
|
|
Now it is possible to specify hotkeys in place for ButtonWidget
and CheckboxWidget (the only widgets with hotkeys now).
Use de-facto standard with putting hotkey between tildes (~).
Like '~O~pen'. The tildes gets stripped before after hotkey
is extracted.
This is done for giving translators possibility to specify
their own hotkeys.
Old hotkeys defined at widget instance creation are left for
leaving possibility to specify non-printable hotkeys such as
Common::ASCII_ESCAPE.
Translation files were updated respectively.
svn-id: r49766
|
|
Based on patch #2903830: "Updated Translation Prototype" by alexbevi
which in turn is based on patch #1739965 by jvprat.
Currently it builds all translations right into ScummVM. Once the
feature will be accepted more widely, i.e. more translations will
pop up, it will be trivial to move translation strings to external
file.
Finished translation: Russian
Unfinished translation: Hungarian
Things which are nice to do:
- Language code -> language mapping for more user friendness
- Specifying fonts to be used with language
- Updating of interface language without restart. It will require
moving of much code to reflowLayout() methods for each dialog
The .po files must be in single byte encodings. I.e. no support
for Unicode.
svn-id: r49759
|