GNOME Bugzilla – Bug 770288
clutter-script: Add an example of translation in ClutterScript
Last modified: 2016-08-24 12:13:13 UTC
Simple documentation update, plus a corresponding change to the test-script program to demonstrate it (or it would demonstrate translation if the strings were actually extractable and translated).
Created attachment 334024 [details] [review] clutter-script: Add an example of translation in ClutterScript Document the ‘translatable’ key and friends.
Created attachment 334025 [details] [review] tests: Set locale in test-script.c So that if the translatable strings in test-script.json are ever translated in the .po files, they will appear translated in the test program. Note that for them to be translated in the .po files, they must first be extracted by gettext, which first needs to grow support for ClutterScript files.
Review of attachment 334024 [details] [review]: LGTM
Review of attachment 334025 [details] [review]: Okay.
Thanks for the fast review. Merged. Attachment 334024 [details] pushed as 3de11d5 - clutter-script: Add an example of translation in ClutterScript Attachment 334025 [details] pushed as 363c3f8 - tests: Set locale in test-script.c