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>
|
1999-08-13 Changwoo RYU <cwryu@adam.kaist.ac.kr>
|
||||||
|
|
||||||
* capplets/wm-properties/wm-desktops/*.desktop: Inserted
|
* 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 ((stat (dirname, &s) < 0) || !(S_ISDIR (s.st_mode))){
|
||||||
if (errno == ENOENT) {
|
if (errno == ENOENT) {
|
||||||
if (mkdir (dirname, S_IRWXU) < 0) {
|
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"
|
"~/.gnome/mime-info\n\n"
|
||||||
"We will not be able to save the state.");
|
"We will not be able to save the state."));
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
} else {
|
} 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"
|
"~/.gnome/mime-info\n\n"
|
||||||
"We will not be able to save the state.");
|
"We will not be able to save the state."));
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -420,15 +420,15 @@ write_keys (GHashTable *spec_hash, GHashTable *generic_hash)
|
||||||
if ((stat (dirname, &s) < 0) || !(S_ISDIR (s.st_mode))){
|
if ((stat (dirname, &s) < 0) || !(S_ISDIR (s.st_mode))){
|
||||||
if (errno == ENOENT) {
|
if (errno == ENOENT) {
|
||||||
if (mkdir (dirname, S_IRWXU) < 0) {
|
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"
|
"~/.gnome/mime-info\n\n"
|
||||||
"We will not be able to save the state.");
|
"We will not be able to save the state."));
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
} else {
|
} 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"
|
"~/.gnome/mime-info\n\n"
|
||||||
"We will not be able to save the state.");
|
"We will not be able to save the state."));
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -249,7 +249,7 @@ make_main(void)
|
||||||
if (style->rc_style == NULL) {
|
if (style->rc_style == NULL) {
|
||||||
/* FIXME - should really get this from X somehow */
|
/* FIXME - should really get this from X somehow */
|
||||||
/* for now we just assume default gtk font */
|
/* 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 {
|
} else {
|
||||||
initial_font = style->rc_style->font_name;
|
initial_font = style->rc_style->font_name;
|
||||||
}
|
}
|
||||||
|
|
|
@ -249,7 +249,7 @@ make_main(void)
|
||||||
if (style->rc_style == NULL) {
|
if (style->rc_style == NULL) {
|
||||||
/* FIXME - should really get this from X somehow */
|
/* FIXME - should really get this from X somehow */
|
||||||
/* for now we just assume default gtk font */
|
/* 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 {
|
} else {
|
||||||
initial_font = style->rc_style->font_name;
|
initial_font = style->rc_style->font_name;
|
||||||
}
|
}
|
||||||
|
|
|
@ -298,12 +298,11 @@ update_gui (void)
|
||||||
wm = tmp_list->data;
|
wm = tmp_list->data;
|
||||||
|
|
||||||
if (wm == current_wm) {
|
if (wm == current_wm) {
|
||||||
row_text = g_strconcat (wm->dentry->name,
|
row_text = g_strdup_printf (_("%s (Current)"),
|
||||||
_(" (Current)"), NULL);
|
wm->dentry->name);
|
||||||
|
|
||||||
tmpstr = g_strconcat (_("Run Configuration Tool for "),
|
tmpstr = g_strdup_printf (_("Run Configuration Tool for %s"),
|
||||||
wm->dentry->name,
|
wm->dentry->name);
|
||||||
NULL);
|
|
||||||
|
|
||||||
gtk_label_set_text (GTK_LABEL (GTK_BIN (config_button)->child),
|
gtk_label_set_text (GTK_LABEL (GTK_BIN (config_button)->child),
|
||||||
tmpstr);
|
tmpstr);
|
||||||
|
@ -352,12 +351,12 @@ init_callback (WMResult result, gpointer data)
|
||||||
case WM_SUCCESS:
|
case WM_SUCCESS:
|
||||||
break;
|
break;
|
||||||
case WM_ALREADY_RUNNING:
|
case WM_ALREADY_RUNNING:
|
||||||
g_warning ("wm-properties-capplet: Unable to initialize window manager.\n"
|
g_warning (_("wm-properties-capplet: Unable to initialize window manager.\n"
|
||||||
"\tAnother window manager is already running and could not be killed\n");
|
"\tAnother window manager is already running and could not be killed\n"));
|
||||||
break;
|
break;
|
||||||
case WM_CANT_START:
|
case WM_CANT_START:
|
||||||
g_warning ("wm-properties-capplet: Unable to initialize window manager.\n"
|
g_warning (_("wm-properties-capplet: Unable to initialize window manager.\n"
|
||||||
"\t'%s' didn't start\n", (gchar *)data);
|
"\t'%s' didn't start\n"), (gchar *)data);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue