]> git.ipfire.org Git - thirdparty/gettext.git/commit
examples: Make hello-c-gnome3 translator friendly
authorDaiki Ueno <ueno@gnu.org>
Thu, 8 Jan 2015 02:09:14 +0000 (11:09 +0900)
committerDaiki Ueno <ueno@gnu.org>
Thu, 8 Jan 2015 02:25:32 +0000 (11:25 +0900)
commitabcef7b39a2b3e5dd2c963339ef00180dbd67677
treeec487a8c9f9cd92792159182d83c6d060d4577b9
parent824a663ae260921d3f3b2e71a4d85c4a6a5e05a1
examples: Make hello-c-gnome3 translator friendly

Suggested by Benno Schulenberg in:
<https://lists.gnu.org/archive/html/bug-gettext/2015-01/msg00003.html>.

* hello-c-gnome3/hello.gschema.xml: Use "use-markup" property
instead of "sensitive", to clarify the meaning of the extracted
strings.
* hello-c-gnome3/hello.c (HelloApplicationWindow): Rename the
"label2" member to "label".
(update_content): New function.
(clicked_callback): Rename from quit_callback and call
update_content instead of quitting.  All callers changed.
* hello-c-gnome3/hello.ui: Abolish the first label and put a
translatable text inside the button.
gettext-tools/examples/ChangeLog
gettext-tools/examples/hello-c-gnome3/hello.c
gettext-tools/examples/hello-c-gnome3/hello.gschema.xml
gettext-tools/examples/hello-c-gnome3/hello.ui