[gnome-terminal] Add extra strings so the profile pref combo boxes are translated



commit 1fc68354d4f0f8a6448a19cbafe18869a4696c7d
Author: Christian Persch <chpe gnome org>
Date:   Mon Aug 17 12:41:26 2009 +0200

    Add extra strings so the profile pref combo boxes are translated
    
    Since we cannot use gtkbuilder directly yet (see bug 588945 comment 9),
    but the gtk-builder-convert process produces different strings than are
    contained in the glade files that intltool extracts from, we have to
    just add these strings by hand. Bug #553357.

 po/POTFILES.in      |    1 +
 src/Makefile.am     |    1 +
 src/extra-strings.c |   68 +++++++++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 70 insertions(+), 0 deletions(-)
---
diff --git a/po/POTFILES.in b/po/POTFILES.in
index 82efd30..aeca833 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -23,3 +23,4 @@ src/terminal-tab-label.c
 src/terminal-tabs-menu.c
 src/terminal-util.c
 src/terminal-window.c
+src/extra-strings.c
diff --git a/src/Makefile.am b/src/Makefile.am
index 2071f2b..f0277e0 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -182,6 +182,7 @@ EXTRA_DIST = \
 	terminal-marshal.list \
 	terminal-type-builtins.c.template \
 	terminal-type-builtins.h.template \
+	extra-strings.c \
 	$(about_DATA) \
 	$(schema_in_files) \
 	$(uimanager_DATA) \
diff --git a/src/extra-strings.c b/src/extra-strings.c
new file mode 100644
index 0000000..0032f6d
--- /dev/null
+++ b/src/extra-strings.c
@@ -0,0 +1,68 @@
+/*
+ * Copyright © 2009 Christian Persch
+ *
+ * Gnome-terminal is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * Gnome-terminal is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program.  If not, see <http://www.gnu.org/licenses/>.
+ */
+
+/* This file contains extra strings that need to be translated, but
+ * can't be extracted by intltool since the ui files aren't in git, and
+ * the glade files don't contain them in the right form. See bug #553357.
+ */
+
+/* Translators: This refers to the Delete keybinding option */
+N_("Automatic")
+/* Translators: This refers to the Delete keybinding option */
+N_("Control-H")
+/* Translators: This refers to the Delete keybinding option */
+N_("ASCII DEL")
+/* Translators: This refers to the Delete keybinding option */
+N_("Escape sequence")
+
+/* Translators: Cursor shape: ... */
+N_("Block")
+/* Translators: Cursor shape: ... */
+N_("I-Beam")
+/* Translators: Cursor shape: ... */
+N_("Underline")
+
+N_("Exit the terminal")
+N_("Restart the command")
+N_("Hold the terminal open")
+
+/* Translators: Scrollbar is: ... */
+N_("On the left side")
+/* Translators: Scrollbar is: ... */
+N_("On the right side")
+/* Translators: Scrollbar is: ... */
+N_("Disabled")
+
+/* Translators: When terminal commands set their own titles: ... */
+N_("Replace initial title")
+/* Translators: When terminal commands set their own titles: ... */
+N_("Append initial title")
+/* Translators: When terminal commands set their own titles: ... */
+N_("Prepend initial title")
+/* Translators: When terminal commands set their own titles: ... */
+N_("Keep initial title")
+
+/* Translators: This is the name of a colour scheme */
+N_("Tango")
+/* Translators: This is the name of a colour scheme */
+N_("Linux console")
+/* Translators: This is the name of a colour scheme */
+N_("XTerm")
+/* Translators: This is the name of a colour scheme */
+N_("Rxvt")
+/* Translators: This is the name of a colour scheme */
+N_("Custom")



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]