byzanz r105 - in trunk: . po src
- From: nshmyrev svn gnome org
- To: svn-commits-list gnome org
- Subject: byzanz r105 - in trunk: . po src
- Date: Fri, 11 Jul 2008 10:25:37 +0000 (UTC)
Author: nshmyrev
Date: Fri Jul 11 10:25:37 2008
New Revision: 105
URL: http://svn.gnome.org/viewvc/byzanz?rev=105&view=rev
Log:
2008-07-11 Nickolay V. Shmyrev <nshmyrev yandex ru>
* configure.ac:
Added "ru" to ALL_LIGNUAS.
* src/record.c (main):
Set the translation domain for the option context.
Added:
trunk/po/ru.po
Modified:
trunk/ChangeLog
trunk/configure.ac
trunk/po/ChangeLog
trunk/src/record.c
Modified: trunk/configure.ac
==============================================================================
--- trunk/configure.ac (original)
+++ trunk/configure.ac Fri Jul 11 10:25:37 2008
@@ -21,7 +21,7 @@
AC_PROG_INTLTOOL
dnl the gettext stuff needed
-ALL_LINGUAS="ar ca cs de dz el en_GB es fi fr hu ja oc pt_BR sv tr vi"
+ALL_LINGUAS="ar ca cs de dz el en_GB es fi fr hu ja oc pt_BR ru sv tr vi"
GETTEXT_PACKAGE=$PACKAGE
AC_SUBST(GETTEXT_PACKAGE)
AC_DEFINE_DIR(GNOMELOCALEDIR, "${datadir}/locale", [locale directory])
Modified: trunk/src/record.c
==============================================================================
--- trunk/src/record.c (original)
+++ trunk/src/record.c Fri Jul 11 10:25:37 2008
@@ -114,6 +114,10 @@
g_thread_init (NULL);
context = g_option_context_new (_("record your current desktop session"));
+#ifdef GETTEXT_PACKAGE
+ g_option_context_set_translation_domain(context, GETTEXT_PACKAGE);
+#endif
+
g_option_context_add_main_entries (context, entries, GETTEXT_PACKAGE);
g_option_context_add_group (context, gtk_get_option_group (TRUE));
if (!g_option_context_parse (context, &argc, &argv, &error)) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]