[glom] Fix make check.
- From: Murray Cumming <murrayc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glom] Fix make check.
- Date: Wed, 11 Apr 2012 08:31:40 +0000 (UTC)
commit 0568f1cee3794d7a70b3434861fb522653f86350
Author: Murray Cumming <murrayc murrayc com>
Date: Wed Apr 11 10:31:29 2012 +0200
Fix make check.
* tests/test_document_load_translations.cc: Increase the number of
expected translations.
* examples/example_film_manager.glom: Fix an inconsistency in the
German translation.
ChangeLog | 9 +++++++++
examples/example_film_manager.glom | 2 +-
tests/test_document_load_translations.cc | 6 +++---
3 files changed, 13 insertions(+), 4 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index a3e83cc..d74e06e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,14 @@
2012-04-11 Murray Cumming <murrayc murrayc com>
+ Fix make check.
+
+ * tests/test_document_load_translations.cc: Increase the number of
+ expected translations.
+ * examples/example_film_manager.glom: Fix an inconsistency in the
+ German translation.
+
+2012-04-11 Murray Cumming <murrayc murrayc com>
+
Windows build: ifdef out the use of getpass().
* glom/glom_create_from_example.cc:
diff --git a/examples/example_film_manager.glom b/examples/example_film_manager.glom
index 5697750..87a740f 100644
--- a/examples/example_film_manager.glom
+++ b/examples/example_film_manager.glom
@@ -1382,7 +1382,7 @@
<formatting format_thousands_separator="true" format_decimal_places="2"/>
<trans_set>
<trans loc="cs" val="ID kontaktu"/>
- <trans loc="de" val="Kontakt ID"/>
+ <trans loc="de" val="Kontaktkennung"/>
<trans loc="eo" val="Kontakto-ID"/>
<trans loc="es" val="ID del contacto"/>
<trans loc="fr" val="ID du contact"/>
diff --git a/tests/test_document_load_translations.cc b/tests/test_document_load_translations.cc
index 77e6bde..6026a99 100644
--- a/tests/test_document_load_translations.cc
+++ b/tests/test_document_load_translations.cc
@@ -243,7 +243,7 @@ int main()
}
const std::vector<Glib::ustring> locales = document.get_translation_available_locales();
- g_assert(locales.size() == 7);
+ g_assert(locales.size() == 8);
g_assert(contains(locales, "de"));
const std::vector<Glib::ustring> table_names = document.get_table_names();
@@ -258,7 +258,7 @@ int main()
//Check a field:
Glom::sharedptr<const Glom::Field> field = document.get_field("contacts", "contact_id");
g_assert(field);
- check_title(field, "Contact ID", "Kontakt ID");
+ check_title(field, "Contact ID", "Kontaktkennung");
//Check a field and its custom choices:
field = document.get_field("scenes", "day_or_night");
@@ -290,7 +290,7 @@ int main()
Glom::sharedptr<const Glom::LayoutItem_Field> field_on_layout =
get_field_on_layout(document, "characters", "contacts", "name_full");
g_assert(field_on_layout);
- check_title(field_on_layout, "Actor's Name", "Schauspieler Name");
+ check_title(field_on_layout, "Actor's Name", "Name des Schauspielers");
//Check a LayoutItemField's Field title:
field_on_layout =
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]