gcalctool r2272 - in trunk: . gcalctool glade
- From: rancell svn gnome org
- To: svn-commits-list gnome org
- Subject: gcalctool r2272 - in trunk: . gcalctool glade
- Date: Fri, 17 Oct 2008 10:49:11 +0000 (UTC)
Author: rancell
Date: Fri Oct 17 10:49:11 2008
New Revision: 2272
URL: http://svn.gnome.org/viewvc/gcalctool?rev=2272&view=rev
Log:
Added translator comments
Modified:
trunk/ChangeLog
trunk/gcalctool/calctool.c
trunk/gcalctool/functions.c
trunk/gcalctool/get.c
trunk/gcalctool/gtk.c
trunk/glade/gcalctool.glade
Modified: trunk/gcalctool/calctool.c
==============================================================================
--- trunk/gcalctool/calctool.c (original)
+++ trunk/gcalctool/calctool.c Fri Oct 17 10:49:11 2008
@@ -486,27 +486,6 @@
v->math_error = -MPMATH_ERR;
}
-static void
-init_text() /* Setup constant strings. */
-{
- STRNCPY(v->con_names[0], _("Kilometer-to-mile conversion factor"),
- MAXLINE - 1);
- STRNCPY(v->con_names[1], _("square root of 2"), MAXLINE - 1);
- STRNCPY(v->con_names[2], _("Euler's Number (e)"), MAXLINE - 1);
- STRNCPY(v->con_names[3], _("pi"), MAXLINE - 1);
- STRNCPY(v->con_names[4], _("Centimeter-to-inch conversion factor"),
- MAXLINE - 1);
- STRNCPY(v->con_names[5], _("degrees in a radian"), MAXLINE - 1);
- STRNCPY(v->con_names[6], _("2 ^ 20"), MAXLINE - 1);
- STRNCPY(v->con_names[7], _("Gram-to-ounce conversion factor"), MAXLINE - 1);
- STRNCPY(v->con_names[8],
- _("Kilojoule-to-British-thermal-unit conversion factor"),
- MAXLINE - 1);
- STRNCPY(v->con_names[9],
- _("Cubic-centimeter-to-cubic-inch conversion factor"), MAXLINE - 1);
-}
-
-
/* Default math library exception handling routine. */
/*ARGSUSED*/
@@ -514,6 +493,7 @@
matherr(exc)
struct exception *exc;
{
+ // FIXME: Useless string
doerr(_("Error"));
return(1);
@@ -525,7 +505,8 @@
{
if (*argv != NULL && argv[0][0] != '-') {
STRNCPY(s, *argv, MAXLINE - 1);
- } else {
+ } else {
+ // FIXME: Useless string
/* Translators: the following string contains two strings that
* are passed to it: the first is the gcalctool program name and
* the second is an error message (see the last parameter in the
@@ -540,13 +521,13 @@
void
usage(char *progname)
{
- /* Translators: the following string contains two strings that
- * are passed to it: the first is the gcalctool program name and
- * the second is the program version number.
- */
- FPRINTF(stderr, _("%s version %s\n\n"), progname, VERSION);
- FPRINTF(stderr, _("Usage: %s: [-E] [-u] [-a accuracy] "), progname);
- FPRINTF(stderr, _("\t\t [-?] [-v] [-h]\n"));
+ /* Translators: This message is displayed on the command line when
+ help is requested. %1$s and $3$s are replaced with the name
+ of the program and %2$s with the version string */
+ FPRINTF(stderr, _("%1$s version %2$s\n"
+ "\n"
+ "Usage: %3$s: [-E] [-u] [-a accuracy] [-?] [-v] [-h]\n"),
+ progname, VERSION, progname);
exit(1);
}
@@ -567,11 +548,14 @@
case 'a' :
INC;
+ // FIXME: Useless string
getparam(next, argv, _("-a needs accuracy value"));
v->accuracy = atoi(next);
if (v->accuracy < 0 || v->accuracy > MAXACC) {
- FPRINTF(stderr,
- _("%s: accuracy should be in the range 0-%d\n"),
+ /* Translators: This message is displayed when an invalid accuracy value is passed
+ as a command line argument. %1$s is replaced with the name of the program and %2$d
+ is replaced with the maximum supported accuracy value */
+ FPRINTF(stderr, _("%1$s: accuracy should be in the range 0-%2$d\n"),
v->progname, MAXACC);
v->accuracy = DEFAULT_ACCURACY;
}
@@ -596,10 +580,12 @@
static void
-init_constant(int n, gchar *value)
+init_constant(int n, const gchar *name, const gchar *value)
{
gchar *str = g_strdup(value);
+ STRNCPY(v->con_names[n], name, MAXLINE - 1);
+
MPstr_to_num(str, 10, v->MPcon_vals[n]);
g_free(str);
}
@@ -623,16 +609,26 @@
v->error = 0; /* No calculator error initially. */
- init_constant(0, "0.621"); /* kms/hr <=> miles/hr. */
- init_constant(1, "1.4142135623"); /* square root of 2 */
- init_constant(2, "2.7182818284"); /* e */
- init_constant(3, "3.1415926536"); /* pi */
- init_constant(4, "0.3937007"); /* cms <=> inch. */
- init_constant(5, "57.295779513"); /* degrees/radian. */
- init_constant(6, "1048576.0"); /* 2 ^ 20. */
- init_constant(7, "0.0353"); /* grams <=> ounce. */
- init_constant(8, "0.948"); /* Kjoules <=> BTU's. */
- init_constant(9, "0.0610"); /* cms3 <=> inches3. */
+ /* Translators: This is the label for the default constant, the number of miles in one kilometer (0.621) */
+ init_constant(0, _("Kilometer-to-mile conversion factor"), "0.621");
+ /* Translators: This is the label for the default constant, the square root of 2 (1.41421) */
+ init_constant(1, _("square root of 2"), "1.4142135623");
+ /* Translators: This is the label for the default constant, Euler's number (2.71828) */
+ init_constant(2, _("Euler's Number (e)"), "2.7182818284");
+ /* Translators: This is the label for the default constant, Ï (3.14159) */
+ init_constant(3, _("Ï"), "3.1415926536");
+ /* Translators: This is the label for the default constant, the number of inches in a centimeter (0.39370) */
+ init_constant(4, _("Centimeter-to-inch conversion factor"), "0.3937007");
+ /* Translators: This is the label for the default constant, the number of degrees in a radian (57.2958) */
+ init_constant(5, _("degrees in a radian"), "57.295779513");
+ /* Translators: This is the label for the default constant, 2 to the power of 20 (1048576) */
+ init_constant(6, _("2 ^ 20"), "1048576.0");
+ /* Translators: This is the label for the default constant, the number of ounces in one gram (0.0353) */
+ init_constant(7, _("Gram-to-ounce conversion factor"), "0.0353");
+ /* Translators: This is the label for the default constant, the number of British Thermal Units in one Kilojoule (0.948) */
+ init_constant(8, _("Kilojoule-to-British-thermal-unit conversion factor"), "0.948");
+ /* Translators: This is the label for the default constant, the number of cubic inches in one cubic centimeter (0.0610) */
+ init_constant(9, _("Cubic-centimeter-to-cubic-inch conversion factor"), "0.0610");
for (i = 0; i < MAX_REGISTERS; i++) {
mp_set_from_integer(0, v->MPmvals[i]);
@@ -671,7 +667,6 @@
resources_init(); /* Initialise configuration */
display_init(&v->display);
- init_text(); /* Setup text strings depending upon language. */
read_resources(); /* Read resources from merged database. */
ui_load();
Modified: trunk/gcalctool/functions.c
==============================================================================
--- trunk/gcalctool/functions.c (original)
+++ trunk/gcalctool/functions.c Fri Oct 17 10:49:11 2008
@@ -74,6 +74,8 @@
if (!ret) {
ui_set_statusbar("", "");
} else {
+ /* Translators: This message is displayed in the status bar when an
+ invalid user-defined function is executed */
ui_set_statusbar(_("Malformed function"), "gtk-dialog-error");
}
}
@@ -84,6 +86,8 @@
int MPval[MP_SIZE];
if (display_is_usable_number(&v->display, MPval) || !is_integer(MPval)) {
+ /* Translators: This message is displayed in the status bar when a bit
+ shift operation is performed and the display does not contain a number */
ui_set_statusbar(_("No sane value to do bitwise shift"),
"gtk-dialog-error");
}
Modified: trunk/gcalctool/get.c
==============================================================================
--- trunk/gcalctool/get.c (original)
+++ trunk/gcalctool/get.c Fri Oct 17 10:49:11 2008
@@ -239,6 +239,8 @@
if (get_int_resource(R_ACCURACY, &intval)) {
v->accuracy = intval;
if (v->accuracy < 0 || v->accuracy > MAXACC) {
+ /* Translators: A log message displayed when an invalid accuracy
+ is read from the configuration */
FPRINTF(stderr, _("%s: accuracy should be in the range 0-%d\n"),
v->progname, MAXACC);
v->accuracy = 9;
@@ -260,6 +262,8 @@
}
if (i == MAXBASES) {
+ /* Translators: A log message displayed when an invalid
+ base is read from the configuration */
FPRINTF(stderr, _("%s: base should be 2, 8, 10 or 16\n"),
v->progname);
} else {
@@ -275,6 +279,8 @@
}
if (i == MAXDISPMODES) {
+ /* Translators: A log message displayed when an invalid
+ display mode is read from the configuration */
FPRINTF(stderr, _("%s: invalid display mode [%s]\n"),
v->progname, str);
} else {
@@ -290,6 +296,8 @@
}
if (i == MAXMODES) {
+ /* Translators: This message is a log message displayed when
+ an invalid mode is read from the configuration */
FPRINTF(stderr, _("%s: invalid mode [%s]\n"), v->progname, str);
} else {
v->modetype = (enum mode_type) i;
@@ -304,6 +312,8 @@
}
if (i == MAXTRIGMODES) {
+ /* Translators: This message is a log message displayed when
+ an invalid trigonometric mode is read from the configuration */
FPRINTF(stderr, _("%s: invalid trigonometric mode [%s]\n"),
v->progname, str);
} else {
Modified: trunk/gcalctool/gtk.c
==============================================================================
--- trunk/gcalctool/gtk.c (original)
+++ trunk/gcalctool/gtk.c Fri Oct 17 10:49:11 2008
@@ -53,14 +53,30 @@
/* Window titles dependant on mode */
static char *titles[] = {
- N_("Calculator"), N_("Calculator - Advanced"), N_("Calculator - Financial"),
- N_("Calculator - Scientific"), N_("Calculator - Programming")
+ /* Translators: The window title when in basic mode */
+ N_("Calculator"),
+ /* Translators: The window title when in advanced mode */
+ N_("Calculator - Advanced"),
+ /* Translators: The window title when in financial mode */
+ N_("Calculator - Financial"),
+ /* Translators: The window title when in scientific mode */
+ N_("Calculator - Scientific"),
+ /* Translators: The window title when in programming mode */
+ N_("Calculator - Programming")
};
/* Window titles dependant on mode and hostname */
static char *hostname_titles[] = {
- N_("Calculator [%s]"), N_("Calculator [%s] - Advanced"), N_("Calculator [%s] - Financial"),
- N_("Calculator [%s] - Scientific"), N_("Calculator [%s] - Programming")
+ /* Translators: The window title when in basic mode. %s is replaced with the hostname. */
+ N_("Calculator [%s]"),
+ /* Translators: The window title when in advanced mode. %s is replaced with the hostname. */
+ N_("Calculator [%s] - Advanced"),
+ /* Translators: The window title when in financial mode. %s is replaced with the hostname. */
+ N_("Calculator [%s] - Financial"),
+ /* Translators: The window title when in scientific mode. %s is replaced with the hostname. */
+ N_("Calculator [%s] - Scientific"),
+ /* Translators: The window title when in programming mode. %s is replaced with the hostname. */
+ N_("Calculator [%s] - Programming")
};
#define FINC_NUM_ARGS 4
@@ -505,25 +521,16 @@
char text[MAXLINE];
char *desc, *current, *tooltip;
+ /* Translators: Accuracy Popup: Menu item to show the accuracy dialog. %d is replaced with the current accuracy. */
SNPRINTF(text, MAXLINE, _("_Other (%d) ..."), accuracy);
widget = gtk_bin_get_child(GTK_BIN(GET_WIDGET("acc_item_other")));
gtk_label_set_markup_with_mnemonic(GTK_LABEL(widget), text);
- desc = g_strdup_printf(ngettext("Set accuracy from 0 to %d numeric place.",
- "Set accuracy from 0 to %d numeric places.",
- MAXACC),
- MAXACC);
-
- /* Translators: This refers to the current accuracy setting */
- current = g_strdup_printf(ngettext("Currently set to %d place.",
- "Currently set to %d places.",
- accuracy == 1),
- accuracy);
- tooltip = g_strdup_printf ("%s %s [A]", desc, current);
- gtk_widget_set_tooltip_text (GET_WIDGET("calc_accuracy_button"), tooltip);
- g_free(desc);
- g_free(current);
- g_free(tooltip);
+ gtk_widget_set_tooltip_text (GET_WIDGET("calc_accuracy_button"),
+ /* Translators: Tooltip for accuracy button */
+ ngettext("Set accuracy from 0 to %d numeric place. [A]",
+ "Set accuracy from 0 to %d numeric places. [A]",
+ MAXACC));
if (accuracy >= 0 && accuracy <= 9) {
SNPRINTF(text, MAXLINE, "acc_item%d", accuracy);
@@ -548,17 +555,35 @@
static void
ui_update_trig_mode()
{
- static char *sine_labels[] = {N_("Sin"), N_("Sinh"),
- N_("Sin<sup>-1</sup>"),
- N_("Sinh<sup>-1</sup>")};
+ static char *sine_labels[] = {
+ /* Translators: The sine button */
+ N_("Sin"),
+ /* Translators: The hyperbolic sine button */
+ N_("Sinh"),
+ /* Translators: The inverse sine button */
+ N_("Sin<sup>-1</sup>"),
+ /* Translators: The inverse hyperbolic sine button */
+ N_("Sinh<sup>-1</sup>")};
static int sine_functions[] = {KEY_SIN, KEY_SINH, KEY_ASIN, KEY_ASINH};
- static char *cosine_labels[] = {N_("Cos"), N_("Cosh"),
- N_("Cos<sup>-1</sup>"),
- N_("Cosh<sup>-1</sup>")};
+ static char *cosine_labels[] = {
+ /* Translators: The cosine button */
+ N_("Cos"),
+ /* Translators: The hyperbolic cosine button */
+ N_("Cosh"),
+ /* Translators: The inverse cosine button */
+ N_("Cos<sup>-1</sup>"),
+ /* Translators: The inverse hyperbolic cosine button */
+ N_("Cosh<sup>-1</sup>")};
static int cosine_functions[] = {KEY_COS, KEY_COSH, KEY_ACOS, KEY_ACOSH};
- static char *tangent_labels[] = {N_("Tan"), N_("Tanh"),
- N_("Tan<sup>-1</sup>"),
- N_("Tanh<sup>-1</sup>")};
+ static char *tangent_labels[] = {
+ /* Translators: The tangent button */
+ N_("Tan"),
+ /* Translators: The hyperbolic tangent button */
+ N_("Tanh"),
+ /* Translators: The inverse tangent button */
+ N_("Tan<sup>-1</sup>"),
+ /* Translators: The inverse hyperbolic tangent button */
+ N_("Tanh<sup>-1</sup>")};
static int tangent_functions[] = {KEY_TAN, KEY_TANH, KEY_ATAN, KEY_ATANH};
int index = 0;
@@ -1082,41 +1107,43 @@
"Sun Microsystems",
NULL
};
+
+ /* Translators: The translator credits. Please translate this with your name(s). */
const gchar *translator_credits = _("translator-credits");
- const char *license[] = {
- N_("Gcalctool is free software; you can redistribute it and/or modify\n"
- "it under the terms of the GNU General Public License as published by\n"
- "the Free Software Foundation; either version 2 of the License, or\n"
- "(at your option) any later version.\n"),
- N_("Gcalctool is distributed in the hope that it will be useful,\n"
- "but WITHOUT ANY WARRANTY; without even the implied warranty of\n"
- "MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n"
- "GNU General Public License for more details.\n"),
- N_("You should have received a copy of the GNU General Public License\n"
- "along with Gcalctool; if not, write to the Free Software Foundation, Inc.,\n"
- "51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA\n")
+ char *license[] = {
+ /* Translators: The license this software is under (GPL2+) */
+ _("Gcalctool is free software; you can redistribute it and/or modify\n"
+ "it under the terms of the GNU General Public License as published by\n"
+ "the Free Software Foundation; either version 2 of the License, or\n"
+ "(at your option) any later version.\n"
+ "\n"
+ "Gcalctool is distributed in the hope that it will be useful,\n"
+ "but WITHOUT ANY WARRANTY; without even the implied warranty of\n"
+ "MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n"
+ "GNU General Public License for more details.\n"
+ "\n"
+ "You should have received a copy of the GNU General Public License\n"
+ "along with Gcalctool; if not, write to the Free Software Foundation, Inc.,\n"
+ "51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA\n")
};
- char *license_trans = g_strconcat(_(license[0]), "\n",
- _(license[1]), "\n",
- _(license[2]), "\n",
- NULL);
-
gtk_show_about_dialog(GTK_WINDOW(X->kframe),
- "name",_("Gcalctool"),
- "version", VERSION,
- "copyright", _("\xc2\xa9 1986-2008 The Gcalctool authors"),
- "license", license_trans,
- "comments", _("Calculator with financial and scientific modes."),
- "authors", authors,
- "documenters", documenters,
- "translator_credits", translator_credits,
- "logo-icon-name", "accessories-calculator",
- NULL);
+ /* Translators: Program name in the about dialog */
+ "name", _("Gcalctool"),
+ "version", VERSION,
+ /* Translators: Copyright notice in the about dialog */
+ "copyright", _("\xc2\xa9 1986-2008 The Gcalctool authors"),
+ "license", license,
+ /* Translators: Short description in the about dialog */
+ "comments", _("Calculator with financial and scientific modes."),
+ "authors", authors,
+ "documenters", documenters,
+ "translator_credits", translator_credits,
+ "logo-icon-name", "accessories-calculator",
+ NULL);
}
-
static void
cell_edited_cb(GtkCellRendererText *cell, const gchar *path_string,
const gchar *new_text, gpointer data)
@@ -1765,7 +1792,7 @@
for (i = 0; i < MAX_REGISTERS; i++) {
make_number(value, MAXLINE, v->MPmvals[i], v->base, TRUE);
SNPRINTF(mstr, MAXLINE, "<span weight=\"bold\">%s_%d:</span> %s",
- /* translators: R is the short form of register used inter alia
+ /* Translators: R is the short form of register used inter alia
in popup menus */
_("R"), i, value);
gtk_label_set_markup_with_mnemonic(GTK_LABEL(X->memory_store_labels[i]), mstr);
@@ -2208,6 +2235,7 @@
if (strcmp(G_OBJECT_TYPE_NAME(widget), "GtkImageMenuItem") == 0) {
GtkWidget *label = gtk_bin_get_child(GTK_BIN(widget));
+ // FIXME: WTF?
if (strcmp(gtk_label_get_text(GTK_LABEL(label)), _("Paste")) == 0) {
if (gtk_clipboard_wait_is_text_available(
gtk_clipboard_get(X->clipboard_atom))) {
@@ -2427,8 +2455,10 @@
dialog = gtk_message_dialog_new(NULL, 0,
GTK_MESSAGE_ERROR,
GTK_BUTTONS_NONE,
+ /* Translators: Title of the error dialog when unable to load the UI files */
N_("Error loading user interface"));
gtk_message_dialog_format_secondary_text(GTK_MESSAGE_DIALOG(dialog),
+ /* Translators: Description in UI error dialog when unable to load the UI files. %s is replaced with the path of the missing file */
N_("The user interface file %s is missing or unable to be loaded. Please check your installation."), UI_FILE);
gtk_dialog_add_buttons(GTK_DIALOG(dialog), GTK_STOCK_QUIT, GTK_RESPONSE_ACCEPT, NULL);
@@ -2653,10 +2683,13 @@
gtk_tree_selection_set_mode(
gtk_tree_view_get_selection(GTK_TREE_VIEW(treeview)),
GTK_SELECTION_SINGLE);
+ /* Translators: Edit Constants Dialog: Constant number column title */
add_cf_column(GTK_TREE_VIEW(treeview), _("No."),
COLUMN_NUMBER, FALSE);
+ /* Translators: Edit Constants Dialog: Constant value column title */
add_cf_column(GTK_TREE_VIEW(treeview), _("Value"),
COLUMN_VALUE, TRUE);
+ /* Translators: Edit Constants Dialog: Constant description column title */
add_cf_column(GTK_TREE_VIEW(treeview), _("Description"),
COLUMN_DESCRIPTION, TRUE);
@@ -2671,10 +2704,13 @@
gtk_tree_selection_set_mode(
gtk_tree_view_get_selection(GTK_TREE_VIEW(treeview)),
GTK_SELECTION_SINGLE);
+ /* Translators: Edit Functions Dialog: Function number column title */
add_cf_column(GTK_TREE_VIEW(treeview), _("No."),
COLUMN_NUMBER, FALSE);
+ /* Translators: Edit Functions Dialog: Function value column title */
add_cf_column(GTK_TREE_VIEW(treeview), _("Value"),
COLUMN_VALUE, TRUE);
+ /* Translators: Edit Functions Dialog: Function description column title */
add_cf_column(GTK_TREE_VIEW(treeview), _("Description"),
COLUMN_DESCRIPTION, TRUE);
@@ -2813,6 +2849,7 @@
}
/* Set default accuracy menu item */
+ /* Translators: Accuracy Popup: Menu item to reset the accuracy to the default value. %d is replaced with the default value. */
SNPRINTF(text, MAXLINE, _("Reset to _Default (%d)"), DEFAULT_ACCURACY);
widget = gtk_bin_get_child(GTK_BIN(GET_WIDGET("acc_item_default")));
gtk_label_set_markup_with_mnemonic(GTK_LABEL(widget), text);
Modified: trunk/glade/gcalctool.glade
==============================================================================
--- trunk/glade/gcalctool.glade (original)
+++ trunk/glade/gcalctool.glade Fri Oct 17 10:49:11 2008
@@ -4252,7 +4252,7 @@
<child>
<widget class="GtkButton" id="calc_accuracy_button">
<property name="visible">True</property>
- <property name="tooltip" translatable="yes" comments="Tooltip for the accuracy button">Set accuracy from 0 to 9 numeric places [A]</property>
+ <property name="tooltip" comments="Variable label button - text set inside gtk.c">(Set accuracy from 0 to N numeric places [A])</property>
<property name="relief">GTK_RELIEF_NORMAL</property>
<property name="focus_on_click">False</property>
<signal name="clicked" handler="button_cb"/>
@@ -4266,7 +4266,7 @@
<child>
<widget class="GtkLabel" id="label10">
<property name="visible">True</property>
- <property name="label" translatable="yes" comments="Accuracy">Acc</property>
+ <property name="label" translatable="yes" comments="Accuracy button">Acc</property>
<property name="use_underline">False</property>
<property name="use_markup">False</property>
<property name="justify">GTK_JUSTIFY_LEFT</property>
@@ -4520,7 +4520,7 @@
<child>
<widget class="GtkLabel" id="tangent_label">
<property name="visible">True</property>
- <property name="label" translatable="yes" comments="Factorial">Tan</property>
+ <property name="label" comments="Variable label button - text set inside gtk.c">(Tan)</property>
<property name="use_underline">False</property>
<property name="use_markup">True</property>
<property name="justify">GTK_JUSTIFY_LEFT</property>
@@ -4558,7 +4558,7 @@
<child>
<widget class="GtkLabel" id="sine_label">
<property name="visible">True</property>
- <property name="label" translatable="yes" comments="Factorial">Sin</property>
+ <property name="label" comments="Variable label button - text set inside gtk.c">(Sin)</property>
<property name="use_underline">False</property>
<property name="use_markup">True</property>
<property name="justify">GTK_JUSTIFY_LEFT</property>
@@ -4596,7 +4596,7 @@
<child>
<widget class="GtkLabel" id="cosine_label">
<property name="visible">True</property>
- <property name="label" translatable="yes" comments="Factorial">Cos</property>
+ <property name="label" comments="Variable label button - text set inside gtk.c">(Cos)</property>
<property name="use_underline">False</property>
<property name="use_markup">True</property>
<property name="justify">GTK_JUSTIFY_LEFT</property>
@@ -5248,7 +5248,7 @@
<widget class="GtkButton" id="calc_percentage_button">
<property name="visible">True</property>
<property name="tooltip" translatable="yes" comments="Tooltip for the percentage button">Percentage [%]</property>
- <property name="label" translatable="yes" comments="This is a percentage sign">%</property>
+ <property name="label" translatable="yes" comments="The percentage button">%</property>
<property name="use_underline">True</property>
<property name="relief">GTK_RELIEF_NORMAL</property>
<property name="focus_on_click">False</property>
@@ -6555,7 +6555,7 @@
<child>
<widget class="GtkRadioMenuItem" id="acc_item_other">
<property name="visible">True</property>
- <property name="label" translatable="yes" comments="Accuracy Popup: Menu item to show the accuracy dialog. %d is replaced with the current accuracy.">_Other (%d) ...</property>
+ <property name="label" comments="Variable label button - text set inside gtk.c">(_Other (N) ...)</property>
<property name="use_underline">True</property>
<property name="active">False</property>
<property name="group">acc_item0</property>
@@ -6572,7 +6572,7 @@
<child>
<widget class="GtkMenuItem" id="acc_item_default">
<property name="visible">True</property>
- <property name="label" translatable="yes" comments="Accuracy Popup: Menu item to reset the accuracy to the default value. %d is replaced with the default value.">Reset to _Default (%d)</property>
+ <property name="label" comments="Set and translated inside gtk.c">Reset to _Default (%d)</property>
<property name="use_underline">True</property>
<signal name="activate" handler="accuracy_default_cb" last_modification_time="Sun, 02 Dec 2007 08:57:01 GMT"/>
</widget>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]