[dia] Bug 612432 - Capitalisation fixes
- From: Hans Breuer <hans src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [dia] Bug 612432 - Capitalisation fixes
- Date: Sat, 31 Jul 2010 12:57:14 +0000 (UTC)
commit 2e77df5d8bad297b6ab795d21a5c96c13c9cfdfb
Author: Philip Withnall <philip tecnocode co uk>
Date: Wed Mar 10 13:11:45 2010 +0000
Bug 612432 - Capitalisation fixes
Signed-off-by: Hans Breuer <hans breuer org>
app/app_procs.c | 2 +-
app/load_save.c | 4 ++--
app/preferences.c | 4 ++--
lib/dialogs.c | 2 +-
plug-ins/cairo/diacairo.c | 2 +-
plug-ins/postscript/postscript.c | 2 +-
plug-ins/postscript/render_eps.c | 4 ++--
plug-ins/pstricks/pstricks.c | 2 +-
plug-ins/shape/shape.c | 2 +-
plug-ins/wmf/wmf.cpp | 4 ++--
plug-ins/xfig/xfig-export.c | 4 ++--
plug-ins/xfig/xfig-import.c | 16 ++++++++--------
sheets/UML.sheet.in | 4 ++--
13 files changed, 26 insertions(+), 26 deletions(-)
---
diff --git a/app/app_procs.c b/app/app_procs.c
index 150cce7..61f7a4f 100644
--- a/app/app_procs.c
+++ b/app/app_procs.c
@@ -1198,7 +1198,7 @@ static PluginInitResult
internal_plugin_init(PluginInfo *info)
{
if (!dia_plugin_info_init(info, "Internal",
- _("Objects and filters internal to dia"),
+ _("Objects and filters internal to Dia"),
NULL, NULL))
return DIA_PLUGIN_INIT_ERROR;
diff --git a/app/load_save.c b/app/load_save.c
index c2a37d9..bd29cbe 100644
--- a/app/load_save.c
+++ b/app/load_save.c
@@ -303,7 +303,7 @@ read_connections(GList *objects, xmlNodePtr layer_node,
broken = TRUE;
} else if (handle < 0 || handle >= obj->num_handles) {
message_error(_("Error loading diagram.\n"
- "connection handle %d does not exist on '%s'."),
+ "Connection handle %d does not exist on '%s'."),
handle, to->type->name);
broken = TRUE;
} else {
@@ -321,7 +321,7 @@ read_connections(GList *objects, xmlNodePtr layer_node,
}
} else {
message_error(_("Error loading diagram.\n"
- "connection point %d does not exist on '%s'."),
+ "Connection point %d does not exist on '%s'."),
conn, to->type->name);
broken = TRUE;
}
diff --git a/app/preferences.c b/app/preferences.c
index 9e2ce99..27e31da 100644
--- a/app/preferences.c
+++ b/app/preferences.c
@@ -228,9 +228,9 @@ DiaPrefData prefs_data[] =
{ "favored_ps_export", PREF_CHOICE, PREF_OFFSET(favored_filter.ps), &default_favored_filter,
FAVOR_TAB, N_("PostScript"), NULL, FALSE, get_exporter_names, set_favored_exporter, "PS" },
{ "favored_wmf_export", PREF_CHOICE, PREF_OFFSET(favored_filter.wmf), &default_favored_filter,
- FAVOR_TAB, N_("Windows MetaFile"), NULL, FALSE, get_exporter_names, set_favored_exporter, "WMF" },
+ FAVOR_TAB, N_("Windows Metafile"), NULL, FALSE, get_exporter_names, set_favored_exporter, "WMF" },
{ "favored_emf_export", PREF_CHOICE, PREF_OFFSET(favored_filter.emf), &default_favored_filter,
- FAVOR_TAB, N_("Enhanced MetaFile"), NULL, FALSE, get_exporter_names, set_favored_exporter, "EMF" },
+ FAVOR_TAB, N_("Enhanced Metafile"), NULL, FALSE, get_exporter_names, set_favored_exporter, "EMF" },
{ NULL, PREF_END_GROUP, 0, NULL, FAVOR_TAB, NULL },
/*{ NULL, PREF_NONE, 0, NULL, 3, N_("Grid:") }, */
diff --git a/lib/dialogs.c b/lib/dialogs.c
index 846699d..166a7e3 100644
--- a/lib/dialogs.c
+++ b/lib/dialogs.c
@@ -48,7 +48,7 @@ dialog_make(char *title, char *okay_text, char *cancel_text,
gtk_container_add(GTK_CONTAINER(GTK_DIALOG(dialog)->vbox), label);
- *okay_button = gtk_button_new_with_label((okay_text!=NULL?okay_text:_("Ok")));
+ *okay_button = gtk_button_new_with_label((okay_text!=NULL?okay_text:_("OK")));
*cancel_button = gtk_button_new_with_label((cancel_text!=NULL?cancel_text:_("Cancel")));
gtk_container_add(GTK_CONTAINER(GTK_DIALOG(dialog)->action_area),
diff --git a/plug-ins/cairo/diacairo.c b/plug-ins/cairo/diacairo.c
index 95cf8f3..7cf0f4e 100644
--- a/plug-ins/cairo/diacairo.c
+++ b/plug-ins/cairo/diacairo.c
@@ -131,7 +131,7 @@ export_data(DiagramData *data, const gchar *filename,
filename_crt = g_locale_from_utf8 (filename, -1, NULL, NULL, NULL);
if (!filename_crt) {
message_error(_("Can't convert output filename '%s' to locale encoding.\n"
- "Please choose a different name to save with cairo.\n"),
+ "Please choose a different name to save with Cairo.\n"),
dia_message_filename(filename), strerror(errno));
return;
}
diff --git a/plug-ins/postscript/postscript.c b/plug-ins/postscript/postscript.c
index 203b12c..9af45ac 100644
--- a/plug-ins/postscript/postscript.c
+++ b/plug-ins/postscript/postscript.c
@@ -67,7 +67,7 @@ PluginInitResult
dia_plugin_init(PluginInfo *info)
{
if (!dia_plugin_info_init(info, "Postscript",
- _("Postscript Rendering"),
+ _("PostScript Rendering"),
_plugin_can_unload,
_plugin_unload))
return DIA_PLUGIN_INIT_ERROR;
diff --git a/plug-ins/postscript/render_eps.c b/plug-ins/postscript/render_eps.c
index d3b232f..072393a 100644
--- a/plug-ins/postscript/render_eps.c
+++ b/plug-ins/postscript/render_eps.c
@@ -147,7 +147,7 @@ static const gchar *epsi_extensions[] = { "epsi", NULL };
#endif
#ifdef HAVE_FREETYPE
DiaExportFilter eps_ft2_export_filter = {
- N_("Encapsulated Postscript (using Pango fonts)"),
+ N_("Encapsulated PostScript (using Pango fonts)"),
eps_extensions,
export_ft2_eps,
GINT_TO_POINTER(PSTYPE_EPS), /* user_data */
@@ -166,7 +166,7 @@ DiaExportFilter epsi_ft2_export_filter = {
#endif
DiaExportFilter eps_export_filter = {
- N_("Encapsulated Postscript (using PostScript Latin-1 fonts)"),
+ N_("Encapsulated PostScript (using PostScript Latin-1 fonts)"),
eps_extensions,
export_eps,
GINT_TO_POINTER(PSTYPE_EPS), /* user_data */
diff --git a/plug-ins/pstricks/pstricks.c b/plug-ins/pstricks/pstricks.c
index 266b066..3b9da82 100644
--- a/plug-ins/pstricks/pstricks.c
+++ b/plug-ins/pstricks/pstricks.c
@@ -23,7 +23,7 @@ PluginInitResult
dia_plugin_init(PluginInfo *info)
{
if (!dia_plugin_info_init(info, "Pstricks",
- _("TeX Pstricks export filter"),
+ _("TeX PSTricks export filter"),
_plugin_can_unload,
_plugin_unload))
return DIA_PLUGIN_INIT_ERROR;
diff --git a/plug-ins/shape/shape.c b/plug-ins/shape/shape.c
index c5a66d4..1ccb963 100644
--- a/plug-ins/shape/shape.c
+++ b/plug-ins/shape/shape.c
@@ -33,7 +33,7 @@ PluginInitResult
dia_plugin_init(PluginInfo *info)
{
if (!dia_plugin_info_init(info, "shape",
- N_("dia shape export filter"),
+ N_("Dia shape export filter"),
NULL, NULL))
return DIA_PLUGIN_INIT_ERROR;
diff --git a/plug-ins/wmf/wmf.cpp b/plug-ins/wmf/wmf.cpp
index 14605e7..ce34a89 100644
--- a/plug-ins/wmf/wmf.cpp
+++ b/plug-ins/wmf/wmf.cpp
@@ -1417,7 +1417,7 @@ export_data(DiagramData *data, const gchar *filename,
static const gchar *wmf_extensions[] = { "wmf", NULL };
static DiaExportFilter wmf_export_filter = {
- N_("Windows Meta File"),
+ N_("Windows Metafile"),
wmf_extensions,
export_data,
NULL, /* user data */
@@ -1426,7 +1426,7 @@ static DiaExportFilter wmf_export_filter = {
static const gchar *emf_extensions[] = { "emf", NULL };
static DiaExportFilter emf_export_filter = {
- N_("Enhanced Meta File"),
+ N_("Enhanced Metafile"),
emf_extensions,
export_data,
(void*)1, /* user data: urgh, reused as bool and pointer */
diff --git a/plug-ins/xfig/xfig-export.c b/plug-ins/xfig/xfig-export.c
index 63a4b46..4ae2e08 100644
--- a/plug-ins/xfig/xfig-export.c
+++ b/plug-ins/xfig/xfig-export.c
@@ -458,7 +458,7 @@ figArrow(XfigRenderer *renderer, Arrow *arrow, real line_width)
case ARROW_FILLED_DIAMOND:
type = 3; style = 1; break;
default:
- message_warning(_("FIG format has no equivalent of arrow style %s, using simple arrow.\n"),
+ message_warning(_("Fig format has no equivalent of arrow style %s; using simple arrow.\n"),
arrow_get_name_from_type(arrow->type));
/* Notice fallthrough */
case ARROW_FILLED_CONCAVE:
@@ -1202,7 +1202,7 @@ export_fig(DiagramData *data, const gchar *filename,
static const gchar *extensions[] = { "fig", NULL };
DiaExportFilter xfig_export_filter = {
- N_("XFig format"),
+ N_("Xfig format"),
extensions,
export_fig
};
diff --git a/plug-ins/xfig/xfig-import.c b/plug-ins/xfig/xfig-import.c
index eb16d4e..59a9392 100644
--- a/plug-ins/xfig/xfig-import.c
+++ b/plug-ins/xfig/xfig-import.c
@@ -1016,7 +1016,7 @@ fig_read_object(FILE *file) {
if (fscanf(file, "%d ", &objecttype) != 1) {
if (!feof(file)) {
- message_error(_("Couldn't identify FIG object: %s\n"), strerror(errno));
+ message_error(_("Couldn't identify Fig object: %s\n"), strerror(errno));
}
return FALSE;
}
@@ -1231,9 +1231,9 @@ fig_read_meta_data(FILE *file, DiagramData *dia) {
if (!skip_comments(file)) {
if (!feof(file)) {
- message_error(_("Error reading FIG file: %s\n"), strerror(errno));
+ message_error(_("Error reading Fig file: %s\n"), strerror(errno));
} else {
- message_error(_("Premature end of FIG file\n"));
+ message_error(_("Premature end of Fig file\n"));
}
return FALSE;
}
@@ -1280,16 +1280,16 @@ import_fig(const gchar *filename, DiagramData *dia, void* user_data) {
}
if (figmajor != 3 || figminor != 2) {
- message_warning(_("This is a FIG version %d.%d file, I may not understand it\n"), figmajor, figminor);
+ message_warning(_("This is a Fig version %d.%d file. It may not be importable.\n"), figmajor, figminor);
}
figversion = figmajor*100+figminor;
if (!skip_comments(figfile)) {
if (!feof(figfile)) {
- message_error(_("Error reading FIG file: %s\n"), strerror(errno));
+ message_error(_("Error reading Fig file: %s\n"), strerror(errno));
} else {
- message_error(_("Premature end of FIG file\n"));
+ message_error(_("Premature end of Fig file\n"));
}
fclose(figfile);
return FALSE;
@@ -1305,7 +1305,7 @@ import_fig(const gchar *filename, DiagramData *dia, void* user_data) {
do {
if (!skip_comments(figfile)) {
if (!feof(figfile)) {
- message_error(_("Error reading FIG file: %s\n"), strerror(errno));
+ message_error(_("Error reading Fig file: %s\n"), strerror(errno));
} else {
break;
}
@@ -1328,7 +1328,7 @@ import_fig(const gchar *filename, DiagramData *dia, void* user_data) {
static const gchar *extensions[] = {"fig", NULL };
DiaImportFilter xfig_import_filter = {
- N_("XFig File Format"),
+ N_("Xfig File Format"),
extensions,
import_fig
};
diff --git a/sheets/UML.sheet.in b/sheets/UML.sheet.in
index 7d0c987..5ed182b 100644
--- a/sheets/UML.sheet.in
+++ b/sheets/UML.sheet.in
@@ -81,7 +81,7 @@
<_description>Class stereotype icon</_description>
</object>
<object name="UML - State Term">
- <_description>Initial/end state</_description>
+ <_description>Initial/End state</_description>
</object>
<object name="UML - State">
<_description>State</_description>
@@ -93,7 +93,7 @@
<_description>Branch</_description>
</object>
<object name="UML - Fork">
- <_description>Fork/union</_description>
+ <_description>Fork/Union</_description>
</object>
<object name="UML - Transition">
<_description>Transition</_description>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]