-
- Downloads
Project 'savoirfairelinux/ring-client-gnome' was moved to 'savoirfairelinux/jami-client-gnome'. Please update any links and bookmarks that may still have the old path.
i18n: make chatview translatable
This patch implements i18n support in the chatview using Jed. + gettext style API, transparent for translators. + extract string using xgettext, translate po as usual. + convert po files to JSON using po2json. This has to be done once, by the Jenkins automatic i18n bump for instance. The build-chatview-locales script can be used to automate the .po -> .json convertion process. + po2json generated files are shipped as gresource and loaded into the chatview by webkitchatcontainer. Gitlab: #900 Change-Id: Iaf925e2fd37174fff0b6139fc0019bda91938ace Reviewed-by:Sébastien Blin <sebastien.blin@savoirfairelinux.com>
Showing
- .tx/config 6 additions, 0 deletions.tx/config
- po/chatview/POTFILES.in 1 addition, 0 deletionspo/chatview/POTFILES.in
- po/chatview/README 5 additions, 0 deletionspo/chatview/README
- po/chatview/ring-client-gnome-chatview.pot 119 additions, 0 deletionspo/chatview/ring-client-gnome-chatview.pot
- scripts/build-chatview-locales.sh 41 additions, 0 deletionsscripts/build-chatview-locales.sh
- src/webkitchatcontainer.cpp 40 additions, 0 deletionssrc/webkitchatcontainer.cpp
- web/chatview.css 2 additions, 2 deletionsweb/chatview.css
- web/chatview.html 81 additions, 35 deletionsweb/chatview.html
- web/jed.js 1033 additions, 0 deletionsweb/jed.js
- web/web.gresource.xml 3 additions, 0 deletionsweb/web.gresource.xml
Loading
Please register or sign in to comment