Patch from Chyla Zbigniew <chyla@alice.ci.pwr.wroc.pl> to gettextize
1999-08-16 Jonathan Blandford <jrb@redhat.com> * Patch from Chyla Zbigniew <chyla@alice.ci.pwr.wroc.pl> to gettextize everything. Sorry translators...
This commit is contained in:
parent
611f3fa6bf
commit
fb5d8c4562
7 changed files with 799 additions and 1911 deletions
|
@ -1,3 +1,8 @@
|
|||
1999-08-16 Jonathan Blandford <jrb@redhat.com>
|
||||
|
||||
* Patch from Chyla Zbigniew <chyla@alice.ci.pwr.wroc.pl> to
|
||||
gettextize everything. Sorry translators...
|
||||
|
||||
1999-08-13 Changwoo RYU <cwryu@adam.kaist.ac.kr>
|
||||
|
||||
* capplets/wm-properties/wm-desktops/*.desktop: Inserted
|
||||
|
|
|
@ -541,15 +541,15 @@ write_mime (GHashTable *hash)
|
|||
if ((stat (dirname, &s) < 0) || !(S_ISDIR (s.st_mode))){
|
||||
if (errno == ENOENT) {
|
||||
if (mkdir (dirname, S_IRWXU) < 0) {
|
||||
run_error ("We are unable to create the directory\n"
|
||||
run_error (_("We are unable to create the directory\n"
|
||||
"~/.gnome/mime-info\n\n"
|
||||
"We will not be able to save the state.");
|
||||
"We will not be able to save the state."));
|
||||
return;
|
||||
}
|
||||
} else {
|
||||
run_error ("We are unable to access the directory\n"
|
||||
run_error (_("We are unable to access the directory\n"
|
||||
"~/.gnome/mime-info\n\n"
|
||||
"We will not be able to save the state.");
|
||||
"We will not be able to save the state."));
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -420,15 +420,15 @@ write_keys (GHashTable *spec_hash, GHashTable *generic_hash)
|
|||
if ((stat (dirname, &s) < 0) || !(S_ISDIR (s.st_mode))){
|
||||
if (errno == ENOENT) {
|
||||
if (mkdir (dirname, S_IRWXU) < 0) {
|
||||
run_error ("We are unable to create the directory\n"
|
||||
run_error (_("We are unable to create the directory\n"
|
||||
"~/.gnome/mime-info\n\n"
|
||||
"We will not be able to save the state.");
|
||||
"We will not be able to save the state."));
|
||||
return;
|
||||
}
|
||||
} else {
|
||||
run_error ("We are unable to access the directory\n"
|
||||
run_error (_("We are unable to access the directory\n"
|
||||
"~/.gnome/mime-info\n\n"
|
||||
"We will not be able to save the state.");
|
||||
"We will not be able to save the state."));
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -249,7 +249,7 @@ make_main(void)
|
|||
if (style->rc_style == NULL) {
|
||||
/* FIXME - should really get this from X somehow */
|
||||
/* for now we just assume default gtk font */
|
||||
initial_font = g_strdup("-adobe-helvetica-medium-r-normal--*-120-*-*-*-*-*-*");
|
||||
initial_font = g_strdup(_("-adobe-helvetica-medium-r-normal--*-120-*-*-*-*-*-*"));
|
||||
} else {
|
||||
initial_font = style->rc_style->font_name;
|
||||
}
|
||||
|
|
|
@ -249,7 +249,7 @@ make_main(void)
|
|||
if (style->rc_style == NULL) {
|
||||
/* FIXME - should really get this from X somehow */
|
||||
/* for now we just assume default gtk font */
|
||||
initial_font = g_strdup("-adobe-helvetica-medium-r-normal--*-120-*-*-*-*-*-*");
|
||||
initial_font = g_strdup(_("-adobe-helvetica-medium-r-normal--*-120-*-*-*-*-*-*"));
|
||||
} else {
|
||||
initial_font = style->rc_style->font_name;
|
||||
}
|
||||
|
|
|
@ -298,12 +298,11 @@ update_gui (void)
|
|||
wm = tmp_list->data;
|
||||
|
||||
if (wm == current_wm) {
|
||||
row_text = g_strconcat (wm->dentry->name,
|
||||
_(" (Current)"), NULL);
|
||||
row_text = g_strdup_printf (_("%s (Current)"),
|
||||
wm->dentry->name);
|
||||
|
||||
tmpstr = g_strconcat (_("Run Configuration Tool for "),
|
||||
wm->dentry->name,
|
||||
NULL);
|
||||
tmpstr = g_strdup_printf (_("Run Configuration Tool for %s"),
|
||||
wm->dentry->name);
|
||||
|
||||
gtk_label_set_text (GTK_LABEL (GTK_BIN (config_button)->child),
|
||||
tmpstr);
|
||||
|
@ -352,12 +351,12 @@ init_callback (WMResult result, gpointer data)
|
|||
case WM_SUCCESS:
|
||||
break;
|
||||
case WM_ALREADY_RUNNING:
|
||||
g_warning ("wm-properties-capplet: Unable to initialize window manager.\n"
|
||||
"\tAnother window manager is already running and could not be killed\n");
|
||||
g_warning (_("wm-properties-capplet: Unable to initialize window manager.\n"
|
||||
"\tAnother window manager is already running and could not be killed\n"));
|
||||
break;
|
||||
case WM_CANT_START:
|
||||
g_warning ("wm-properties-capplet: Unable to initialize window manager.\n"
|
||||
"\t'%s' didn't start\n", (gchar *)data);
|
||||
g_warning (_("wm-properties-capplet: Unable to initialize window manager.\n"
|
||||
"\t'%s' didn't start\n"), (gchar *)data);
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue