projects
/
pspp
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
8c36983
)
Allow translation of default filenames in GUI
author
John Darrington
<john@darrington.wattle.id.au>
Sat, 28 Aug 2010 11:24:12 +0000
(13:24 +0200)
committer
John Darrington
<john@darrington.wattle.id.au>
Sat, 28 Aug 2010 11:24:12 +0000
(13:24 +0200)
src/ui/gui/psppire-data-window.c
patch
|
blob
|
history
src/ui/gui/psppire-output-window.c
patch
|
blob
|
history
src/ui/gui/psppire-syntax-window.c
patch
|
blob
|
history
src/ui/gui/psppire-window.c
patch
|
blob
|
history
diff --git
a/src/ui/gui/psppire-data-window.c
b/src/ui/gui/psppire-data-window.c
index e6d905e0b5dbfea3e534afbfa2fba9e674084ca2..dd87f53f7b92ac47bf5c7026049005d26e5419f8 100644
(file)
--- a/
src/ui/gui/psppire-data-window.c
+++ b/
src/ui/gui/psppire-data-window.c
@@
-1267,6
+1267,8
@@
GtkWidget*
psppire_data_window_new (void)
{
return GTK_WIDGET (g_object_new (psppire_data_window_get_type (),
psppire_data_window_new (void)
{
return GTK_WIDGET (g_object_new (psppire_data_window_get_type (),
+ /* TRANSLATORS: This will form a filename. Please avoid whitespace. */
+ "filename", _("PSPP-data"),
"description", _("Data Editor"),
NULL));
}
"description", _("Data Editor"),
NULL));
}
diff --git
a/src/ui/gui/psppire-output-window.c
b/src/ui/gui/psppire-output-window.c
index 19744c93012058dcc425d797f4e734f4a5f6ce5e..9886810f1134f109d7cc5496ad36f5876e587090 100644
(file)
--- a/
src/ui/gui/psppire-output-window.c
+++ b/
src/ui/gui/psppire-output-window.c
@@
-1043,7
+1043,8
@@
GtkWidget*
psppire_output_window_new (void)
{
return GTK_WIDGET (g_object_new (psppire_output_window_get_type (),
psppire_output_window_new (void)
{
return GTK_WIDGET (g_object_new (psppire_output_window_get_type (),
- "filename", "Output",
+ /* TRANSLATORS: This will form a filename. Please avoid whitespace. */
+ "filename", _("Output"),
"description", _("Output Viewer"),
NULL));
}
"description", _("Output Viewer"),
NULL));
}
diff --git
a/src/ui/gui/psppire-syntax-window.c
b/src/ui/gui/psppire-syntax-window.c
index 058e27c505982d1728c5076c2b5dc0f3f183163d..d3d5e563d5f5268d591076baa05736bdf712663a 100644
(file)
--- a/
src/ui/gui/psppire-syntax-window.c
+++ b/
src/ui/gui/psppire-syntax-window.c
@@
-703,7
+703,8
@@
GtkWidget*
psppire_syntax_window_new (void)
{
return GTK_WIDGET (g_object_new (psppire_syntax_window_get_type (),
psppire_syntax_window_new (void)
{
return GTK_WIDGET (g_object_new (psppire_syntax_window_get_type (),
- "filename", "Syntax",
+ /* TRANSLATORS: This will form a filename. Please avoid whitespace. */
+ "filename", _("Syntax"),
"description", _("Syntax Editor"),
NULL));
}
"description", _("Syntax Editor"),
NULL));
}
diff --git
a/src/ui/gui/psppire-window.c
b/src/ui/gui/psppire-window.c
index d3137ff2234d0d036329596a0c8ad0746d72dcd7..2ae6b02fd98cad854507e63fce27b2d1bdda737e 100644
(file)
--- a/
src/ui/gui/psppire-window.c
+++ b/
src/ui/gui/psppire-window.c
@@
-243,7
+243,8
@@
psppire_window_class_init (PsppireWindowClass *class)
g_param_spec_string ("filename",
"File name",
"The name of the file associated with this window, if any",
g_param_spec_string ("filename",
"File name",
"The name of the file associated with this window, if any",
- "Untitled",
+ /* TRANSLATORS: This will form a filename. Please avoid whitespace. */
+ _("Untitled"),
G_PARAM_CONSTRUCT | G_PARAM_READWRITE);
g_unichar_to_utf8 (0x2014, mdash);
G_PARAM_CONSTRUCT | G_PARAM_READWRITE);
g_unichar_to_utf8 (0x2014, mdash);