Add:Android:first crude part of translation of strings
authorzoff99 <zoff99@ffa7fe5e-494d-0410-b361-a75ebd5db220>
Tue, 1 Mar 2011 17:33:09 +0000 (17:33 +0000)
committerzoff99 <zoff99@ffa7fe5e-494d-0410-b361-a75ebd5db220>
Tue, 1 Mar 2011 17:33:09 +0000 (17:33 +0000)
git-svn-id: https://navit.svn.sourceforge.net/svnroot/navit/trunk@4266 ffa7fe5e-494d-0410-b361-a75ebd5db220

navit/navit/android/src/org/navitproject/navit/Navit.java
navit/navit/android/src/org/navitproject/navit/NavitAddressSearchActivity.java
navit/navit/android/src/org/navitproject/navit/NavitAndroidOverlay.java
navit/navit/android/src/org/navitproject/navit/NavitDownloadSelectMapActivity.java
navit/navit/android/src/org/navitproject/navit/NavitGraphics.java
navit/navit/android/src/org/navitproject/navit/NavitMapDownloader.java
navit/navit/android/src/org/navitproject/navit/NavitTextTranslations.java [new file with mode: 0644]

index 3f079d0..ab84c77 100644 (file)
@@ -80,7 +80,7 @@ public class Navit extends Activity implements Handler.Callback
        private static Intent                                                                   startup_intent                                                                  = null;\r
        private static long                                                                             startup_intent_timestamp                                        = 0L;\r
        public static String                                                                            my_display_density                                                      = "mdpi";\r
-       private boolean                                                                                 searchBoxShown                                                          = false;\r
+       private boolean                                                                                 searchBoxShown                                                                  = false;\r
        public static final int                                                                 MAPDOWNLOAD_PRI_DIALOG                                          = 1;\r
        public static final int                                                                 MAPDOWNLOAD_SEC_DIALOG                                          = 2;\r
        public static final int                                                                 SEARCHRESULTS_WAIT_DIALOG                                       = 3;\r
@@ -119,178 +119,6 @@ public class Navit extends Activity implements Handler.Callback
                                                                                                                                                                                                                                                                + "/has_run_once.txt";\r
 \r
 \r
-       // space !!\r
-       static final String                                                                             m                                                                                                       = " ";\r
-\r
-       static final String                                                                             NAVIT_JAVA_MENU_download_first_map_en   = "download first map";\r
-       static final String                                                                             NAVIT_JAVA_MENU_download_first_map_fr   = "télécharchez 1ere carte";\r
-       static final String                                                                             NAVIT_JAVA_MENU_download_first_map_nl   = "download eerste kaart";\r
-       static final String                                                                             NAVIT_JAVA_MENU_download_first_map_de   = "1te karte runterladen";\r
-\r
-       static final String                                                                             INFO_BOX_TITLE_en                                                               = "Welcome to Navit";\r
-       static final String                                                                             INFO_BOX_TITLE_fr                                                               = "Bienvenue chez Navit";\r
-       static final String                                                                             INFO_BOX_TITLE_nl                                                               = "Welkom bij Navit";\r
-       static final String                                                                             INFO_BOX_TITLE_de                                                               = "Willkommen bei Navit";\r
-\r
-       static final String                                                                             INFO_BOX_TEXT_en                                                                = m\r
-                                                                                                                                                                                                                                                               + "You are running Navit for the first time!\n\n"\r
-                                                                                                                                                                                                                                                               + m\r
-                                                                                                                                                                                                                                                               + "To start select \""\r
-                                                                                                                                                                                                                                                               + NAVIT_JAVA_MENU_download_first_map_en\r
-                                                                                                                                                                                                                                                               + "\"\n"\r
-                                                                                                                                                                                                                                                               + m\r
-                                                                                                                                                                                                                                                               + "from the menu, and download a map\n"\r
-                                                                                                                                                                                                                                                               + m\r
-                                                                                                                                                                                                                                                               + "for your current Area.\n"\r
-                                                                                                                                                                                                                                                               + m\r
-                                                                                                                                                                                                                                                               + "This will download a large file, so please\n"\r
-                                                                                                                                                                                                                                                               + m\r
-                                                                                                                                                                                                                                                               + "make sure you have a flatrate or similar!\n\n"\r
-                                                                                                                                                                                                                                                               + m\r
-                                                                                                                                                                                                                                                               + "Mapdata:\n"\r
-                                                                                                                                                                                                                                                               + m\r
-                                                                                                                                                                                                                                                               + "CC-BY-SA OpenStreetMap Project\n\n"\r
-                                                                                                                                                                                                                                                               + m\r
-                                                                                                                                                                                                                                                               + "For more information on Navit\n"\r
-                                                                                                                                                                                                                                                               + m\r
-                                                                                                                                                                                                                                                               + "visit our Website\n"\r
-                                                                                                                                                                                                                                                               + m\r
-                                                                                                                                                                                                                                                               + "http://wiki.navit-project.org/\n"\r
-                                                                                                                                                                                                                                                               + "\n"\r
-                                                                                                                                                                                                                                                               + m\r
-                                                                                                                                                                                                                                                               + "      Have fun using Navit.";\r
-       static final String                                                                             INFO_BOX_TEXT_fr                                                                = m\r
-\r
-                                                                                                                                                                                                                                                               + "Vous exécutez Navit pour la première fois\n\n"\r
-                                                                                                                                                                                                                                                               + m\r
-                                                                                                                                                                                                                                                               + "Pour commencer, sélectionnez \n \""\r
-\r
-                                                                                                                                                                                                                                                               + NAVIT_JAVA_MENU_download_first_map_fr\r
-                                                                                                                                                                                                                                                               + "\"\n"\r
-                                                                                                                                                                                                                                                               + m\r
-\r
-                                                                                                                                                                                                                                                               + "du menu et télechargez une carte\n de votre région.\n"\r
-                                                                                                                                                                                                                                                               + m\r
-\r
-                                                                                                                                                                                                                                                               + "Les cartes sont volumineux, donc\n il est préférable d'avoir une connection\n internet illimitée!\n\n"\r
-                                                                                                                                                                                                                                                               + m\r
-                                                                                                                                                                                                                                                               + "Mapdata:\n"\r
-                                                                                                                                                                                                                                                               + m\r
-                                                                                                                                                                                                                                                               + "CC-BY-SA OpenStreetMap Project\n\n"\r
-                                                                                                                                                                                                                                                               + m\r
-                                                                                                                                                                                                                                                               + "Pour plus d'infos sur Navit\n"\r
-                                                                                                                                                                                                                                                               + m\r
-                                                                                                                                                                                                                                                               + "visitez notre site internet\n"\r
-                                                                                                                                                                                                                                                               + m\r
-\r
-                                                                                                                                                                                                                                                               + "http://wiki.navit-project.org/\n"\r
-                                                                                                                                                                                                                                                               + "\n"\r
-                                                                                                                                                                                                                                                               + m\r
-                                                                                                                                                                                                                                                               + "      Amusez vous avec Navit.";\r
-       static final String                                                                             INFO_BOX_TEXT_de                                                                = m\r
-                                                                                                                                                                                                                                                               + "Sie starten Navit zum ersten Mal!\n\n"\r
-                                                                                                                                                                                                                                                               + m\r
-                                                                                                                                                                                                                                                               + "Zum loslegen im Menu \""\r
-                                                                                                                                                                                                                                                               + NAVIT_JAVA_MENU_download_first_map_en\r
-                                                                                                                                                                                                                                                               + "\"\n"\r
-                                                                                                                                                                                                                                                               + m\r
-                                                                                                                                                                                                                                                               + "auswählen und Karte für die\n"\r
-                                                                                                                                                                                                                                                               + m\r
-                                                                                                                                                                                                                                                               + "gewünschte Region downloaden.\n"\r
-                                                                                                                                                                                                                                                               + m\r
-                                                                                                                                                                                                                                                               + "Die Kartendatei ist sehr gross,\n"\r
-                                                                                                                                                                                                                                                               + m\r
-                                                                                                                                                                                                                                                               + "bitte flatrate oder ähnliches aktivieren!\n\n"\r
-                                                                                                                                                                                                                                                               + m\r
-                                                                                                                                                                                                                                                               + "Kartendaten:\n"\r
-                                                                                                                                                                                                                                                               + m\r
-                                                                                                                                                                                                                                                               + "CC-BY-SA OpenStreetMap Project\n\n"\r
-                                                                                                                                                                                                                                                               + m\r
-                                                                                                                                                                                                                                                               + "Für mehr Infos zu Navit\n"\r
-                                                                                                                                                                                                                                                               + m\r
-                                                                                                                                                                                                                                                               + "bitte die Website besuchen\n"\r
-                                                                                                                                                                                                                                                               + m\r
-                                                                                                                                                                                                                                                               + "http://wiki.navit-project.org/\n"\r
-                                                                                                                                                                                                                                                               + "\n"\r
-                                                                                                                                                                                                                                                               + m\r
-                                                                                                                                                                                                                                                               + "      Viel Spaß mit Navit.";\r
-       static final String                                                                             INFO_BOX_TEXT_nl                                                                = m\r
-\r
-                                                                                                                                                                                                                                                               + "U voert Navit voor de eerste keer uit.\n\n"\r
-                                                                                                                                                                                                                                                               + m\r
-                                                                                                                                                                                                                                                               + "Om te beginnen, selecteer  \n \""\r
-\r
-                                                                                                                                                                                                                                                               + NAVIT_JAVA_MENU_download_first_map_nl\r
-                                                                                                                                                                                                                                                               + "\"\n"\r
-                                                                                                                                                                                                                                                               + m\r
-\r
-                                                                                                                                                                                                                                                               + "uit het menu en download een kaart\n van je regio.\n"\r
-                                                                                                                                                                                                                                                               + m\r
-\r
-                                                                                                                                                                                                                                                               + "De kaarten zijn groot,\n het is dus aangeraden om een \n ongelimiteerde internetverbinding te hebben!\n\n"\r
-                                                                                                                                                                                                                                                               + m\r
-                                                                                                                                                                                                                                                               + "Mapdata:\n"\r
-                                                                                                                                                                                                                                                               + m\r
-                                                                                                                                                                                                                                                               + "CC-BY-SA OpenStreetMap Project\n\n"\r
-                                                                                                                                                                                                                                                               + m\r
-\r
-                                                                                                                                                                                                                                                               + "Voor meer info over Navit\n"\r
-                                                                                                                                                                                                                                                               + m\r
-                                                                                                                                                                                                                                                               + "bezoek onze site\n"\r
-                                                                                                                                                                                                                                                               + m\r
-\r
-                                                                                                                                                                                                                                                               + "http://wiki.navit-project.org/\n"\r
-                                                                                                                                                                                                                                                               + "\n"\r
-                                                                                                                                                                                                                                                               + m\r
-                                                                                                                                                                                                                                                               + "      Nog veel plezier met Navit.";\r
-\r
-       static final String                                                                             NAVIT_JAVA_MENU_MOREINFO_en                             = "More info";\r
-       static final String                                                                             NAVIT_JAVA_MENU_MOREINFO_fr                             = "plus d'infos";\r
-       static final String                                                                             NAVIT_JAVA_MENU_MOREINFO_nl                             = "meer info";\r
-       static final String                                                                             NAVIT_JAVA_MENU_MOREINFO_de                             = "Mehr infos";\r
-\r
-       static final String                                                                             NAVIT_JAVA_MENU_ZOOMIN_en                                       = "zoom in";\r
-       static final String                                                                             NAVIT_JAVA_MENU_ZOOMIN_fr                                       = "zoom-avant";\r
-       static final String                                                                             NAVIT_JAVA_MENU_ZOOMIN_nl                                       = "inzoomen";\r
-       static final String                                                                             NAVIT_JAVA_MENU_ZOOMIN_de                                       = "zoom in";\r
-\r
-       static final String                                                                             NAVIT_JAVA_MENU_ZOOMOUT_en                                      = "zoom out";\r
-       static final String                                                                             NAVIT_JAVA_MENU_ZOOMOUT_fr                                      = "zoom-arrière";\r
-       static final String                                                                             NAVIT_JAVA_MENU_ZOOMOUT_nl                                      = "uitzoomen";\r
-       static final String                                                                             NAVIT_JAVA_MENU_ZOOMOUT_de                                      = "zoom out";\r
-\r
-       static final String                                                                             NAVIT_JAVA_MENU_EXIT_en                                         = "Exit Navit";\r
-       static final String                                                                             NAVIT_JAVA_MENU_EXIT_fr                                         = "quittez Navit";\r
-       static final String                                                                             NAVIT_JAVA_MENU_EXIT_nl                                         = "Navit afsluiten";\r
-       static final String                                                                             NAVIT_JAVA_MENU_EXIT_de                                         = "Navit Beenden";\r
-\r
-       static final String                                                                             NAVIT_JAVA_MENU_TOGGLE_POI_en                           = "toggle POI";\r
-       static final String                                                                             NAVIT_JAVA_MENU_TOGGLE_POI_fr                           = "POI on/off";\r
-       static final String                                                                             NAVIT_JAVA_MENU_TOGGLE_POI_nl                           = "POI aan/uit";\r
-       static final String                                                                             NAVIT_JAVA_MENU_TOGGLE_POI_de                           = "POI ein/aus";\r
-\r
-       static final String                                                                             NAVIT_JAVA_OVERLAY_BUBBLE_DRIVEHERE_en  = "drive here";\r
-       static final String                                                                             NAVIT_JAVA_OVERLAY_BUBBLE_DRIVEHERE_fr  = "conduisez";\r
-       static final String                                                                             NAVIT_JAVA_OVERLAY_BUBBLE_DRIVEHERE_nl  = "Ga naar hier";\r
-       static final String                                                                             NAVIT_JAVA_OVERLAY_BUBBLE_DRIVEHERE_de  = "Ziel setzen";\r
-\r
-       static final String                                                                             NAVIT_JAVA_MENU_download_second_map_en  = "download 2nd map";\r
-       static final String                                                                             NAVIT_JAVA_MENU_download_second_map_fr  = "télécharchez 2ème carte";\r
-       static final String                                                                             NAVIT_JAVA_MENU_download_second_map_nl  = "download 2de kaart";\r
-       static final String                                                                             NAVIT_JAVA_MENU_download_second_map_de  = "2te karte runterladen";\r
-\r
-       // default values\r
-       static String                                                                                           NAVIT_JAVA_MENU_download_first_map              = NAVIT_JAVA_MENU_download_first_map_en;\r
-       static String                                                                                           NAVIT_JAVA_MENU_download_second_map             = NAVIT_JAVA_MENU_download_second_map_en;\r
-       static String                                                                                           INFO_BOX_TITLE                                                                  = INFO_BOX_TITLE_en;\r
-       static String                                                                                           INFO_BOX_TEXT                                                                   = INFO_BOX_TEXT_en;\r
-       static String                                                                                           NAVIT_JAVA_MENU_MOREINFO                                        = NAVIT_JAVA_MENU_MOREINFO_en;\r
-       static String                                                                                           NAVIT_JAVA_MENU_ZOOMIN                                          = NAVIT_JAVA_MENU_ZOOMIN_en;\r
-       static String                                                                                           NAVIT_JAVA_MENU_ZOOMOUT                                         = NAVIT_JAVA_MENU_ZOOMOUT_en;\r
-       static String                                                                                           NAVIT_JAVA_MENU_EXIT                                                    = NAVIT_JAVA_MENU_EXIT_en;\r
-       static String                                                                                           NAVIT_JAVA_MENU_TOGGLE_POI                                      = NAVIT_JAVA_MENU_TOGGLE_POI_en;\r
-       static String                                                                                           NAVIT_JAVA_OVERLAY_BUBBLE_DRIVEHERE             = NAVIT_JAVA_OVERLAY_BUBBLE_DRIVEHERE_en;\r
-\r
 \r
        private boolean extractRes(String resname, String result)\r
        {\r
@@ -418,42 +246,42 @@ public class Navit extends Activity implements Handler.Callback
                // hardcoded strings for now, use routine down below later!!\r
                if (lang.compareTo("de") == 0)\r
                {\r
-                       NAVIT_JAVA_MENU_download_first_map = NAVIT_JAVA_MENU_download_first_map_de;\r
-                       NAVIT_JAVA_MENU_download_second_map = NAVIT_JAVA_MENU_download_second_map_de;\r
-                       INFO_BOX_TITLE = INFO_BOX_TITLE_de;\r
-                       INFO_BOX_TEXT = INFO_BOX_TEXT_de;\r
-                       NAVIT_JAVA_MENU_MOREINFO = NAVIT_JAVA_MENU_MOREINFO_de;\r
-                       NAVIT_JAVA_MENU_ZOOMIN = NAVIT_JAVA_MENU_ZOOMIN_de;\r
-                       NAVIT_JAVA_MENU_ZOOMOUT = NAVIT_JAVA_MENU_ZOOMOUT_de;\r
-                       NAVIT_JAVA_MENU_EXIT = NAVIT_JAVA_MENU_EXIT_de;\r
-                       NAVIT_JAVA_MENU_TOGGLE_POI = NAVIT_JAVA_MENU_TOGGLE_POI_de;\r
-                       NAVIT_JAVA_OVERLAY_BUBBLE_DRIVEHERE = NAVIT_JAVA_OVERLAY_BUBBLE_DRIVEHERE_de;\r
+                       NavitTextTranslations.NAVIT_JAVA_MENU_download_first_map = NavitTextTranslations.NAVIT_JAVA_MENU_download_first_map_de;\r
+                       NavitTextTranslations.NAVIT_JAVA_MENU_download_second_map = NavitTextTranslations.NAVIT_JAVA_MENU_download_second_map_de;\r
+                       NavitTextTranslations.INFO_BOX_TITLE = NavitTextTranslations.INFO_BOX_TITLE_de;\r
+                       NavitTextTranslations.INFO_BOX_TEXT = NavitTextTranslations.INFO_BOX_TEXT_de;\r
+                       NavitTextTranslations.NAVIT_JAVA_MENU_MOREINFO = NavitTextTranslations.NAVIT_JAVA_MENU_MOREINFO_de;\r
+                       NavitTextTranslations.NAVIT_JAVA_MENU_ZOOMIN = NavitTextTranslations.NAVIT_JAVA_MENU_ZOOMIN_de;\r
+                       NavitTextTranslations.NAVIT_JAVA_MENU_ZOOMOUT = NavitTextTranslations.NAVIT_JAVA_MENU_ZOOMOUT_de;\r
+                       NavitTextTranslations.NAVIT_JAVA_MENU_EXIT = NavitTextTranslations.NAVIT_JAVA_MENU_EXIT_de;\r
+                       NavitTextTranslations.NAVIT_JAVA_MENU_TOGGLE_POI = NavitTextTranslations.NAVIT_JAVA_MENU_TOGGLE_POI_de;\r
+                       NavitTextTranslations.NAVIT_JAVA_OVERLAY_BUBBLE_DRIVEHERE = NavitTextTranslations.NAVIT_JAVA_OVERLAY_BUBBLE_DRIVEHERE_de;\r
                }\r
                else if (lang.compareTo("fr") == 0)\r
                {\r
-                       NAVIT_JAVA_MENU_download_first_map = NAVIT_JAVA_MENU_download_first_map_fr;\r
-                       NAVIT_JAVA_MENU_download_second_map = NAVIT_JAVA_MENU_download_second_map_fr;\r
-                       INFO_BOX_TITLE = INFO_BOX_TITLE_fr;\r
-                       INFO_BOX_TEXT = INFO_BOX_TEXT_fr;\r
-                       NAVIT_JAVA_MENU_MOREINFO = NAVIT_JAVA_MENU_MOREINFO_fr;\r
-                       NAVIT_JAVA_MENU_ZOOMIN = NAVIT_JAVA_MENU_ZOOMIN_fr;\r
-                       NAVIT_JAVA_MENU_ZOOMOUT = NAVIT_JAVA_MENU_ZOOMOUT_fr;\r
-                       NAVIT_JAVA_MENU_EXIT = NAVIT_JAVA_MENU_EXIT_fr;\r
-                       NAVIT_JAVA_MENU_TOGGLE_POI = NAVIT_JAVA_MENU_TOGGLE_POI_fr;\r
-                       NAVIT_JAVA_OVERLAY_BUBBLE_DRIVEHERE = NAVIT_JAVA_OVERLAY_BUBBLE_DRIVEHERE_fr;\r
+                       NavitTextTranslations.NAVIT_JAVA_MENU_download_first_map = NavitTextTranslations.NAVIT_JAVA_MENU_download_first_map_fr;\r
+                       NavitTextTranslations.NAVIT_JAVA_MENU_download_second_map = NavitTextTranslations.NAVIT_JAVA_MENU_download_second_map_fr;\r
+                       NavitTextTranslations.INFO_BOX_TITLE = NavitTextTranslations.INFO_BOX_TITLE_fr;\r
+                       NavitTextTranslations.INFO_BOX_TEXT = NavitTextTranslations.INFO_BOX_TEXT_fr;\r
+                       NavitTextTranslations.NAVIT_JAVA_MENU_MOREINFO = NavitTextTranslations.NAVIT_JAVA_MENU_MOREINFO_fr;\r
+                       NavitTextTranslations.NAVIT_JAVA_MENU_ZOOMIN = NavitTextTranslations.NAVIT_JAVA_MENU_ZOOMIN_fr;\r
+                       NavitTextTranslations.NAVIT_JAVA_MENU_ZOOMOUT = NavitTextTranslations.NAVIT_JAVA_MENU_ZOOMOUT_fr;\r
+                       NavitTextTranslations.NAVIT_JAVA_MENU_EXIT = NavitTextTranslations.NAVIT_JAVA_MENU_EXIT_fr;\r
+                       NavitTextTranslations.NAVIT_JAVA_MENU_TOGGLE_POI = NavitTextTranslations.NAVIT_JAVA_MENU_TOGGLE_POI_fr;\r
+                       NavitTextTranslations.NAVIT_JAVA_OVERLAY_BUBBLE_DRIVEHERE = NavitTextTranslations.NAVIT_JAVA_OVERLAY_BUBBLE_DRIVEHERE_fr;\r
                }\r
                else if (lang.compareTo("nl") == 0)\r
                {\r
-                       NAVIT_JAVA_MENU_download_first_map = NAVIT_JAVA_MENU_download_first_map_nl;\r
-                       NAVIT_JAVA_MENU_download_second_map = NAVIT_JAVA_MENU_download_second_map_nl;\r
-                       INFO_BOX_TITLE = INFO_BOX_TITLE_nl;\r
-                       INFO_BOX_TEXT = INFO_BOX_TEXT_nl;\r
-                       NAVIT_JAVA_MENU_MOREINFO = NAVIT_JAVA_MENU_MOREINFO_nl;\r
-                       NAVIT_JAVA_MENU_ZOOMIN = NAVIT_JAVA_MENU_ZOOMIN_nl;\r
-                       NAVIT_JAVA_MENU_ZOOMOUT = NAVIT_JAVA_MENU_ZOOMOUT_nl;\r
-                       NAVIT_JAVA_MENU_EXIT = NAVIT_JAVA_MENU_EXIT_nl;\r
-                       NAVIT_JAVA_MENU_TOGGLE_POI = NAVIT_JAVA_MENU_TOGGLE_POI_nl;\r
-                       NAVIT_JAVA_OVERLAY_BUBBLE_DRIVEHERE = NAVIT_JAVA_OVERLAY_BUBBLE_DRIVEHERE_nl;\r
+                       NavitTextTranslations.NAVIT_JAVA_MENU_download_first_map = NavitTextTranslations.NAVIT_JAVA_MENU_download_first_map_nl;\r
+                       NavitTextTranslations.NAVIT_JAVA_MENU_download_second_map = NavitTextTranslations.NAVIT_JAVA_MENU_download_second_map_nl;\r
+                       NavitTextTranslations.INFO_BOX_TITLE = NavitTextTranslations.INFO_BOX_TITLE_nl;\r
+                       NavitTextTranslations.INFO_BOX_TEXT = NavitTextTranslations.INFO_BOX_TEXT_nl;\r
+                       NavitTextTranslations.NAVIT_JAVA_MENU_MOREINFO = NavitTextTranslations.NAVIT_JAVA_MENU_MOREINFO_nl;\r
+                       NavitTextTranslations.NAVIT_JAVA_MENU_ZOOMIN = NavitTextTranslations.NAVIT_JAVA_MENU_ZOOMIN_nl;\r
+                       NavitTextTranslations.NAVIT_JAVA_MENU_ZOOMOUT = NavitTextTranslations.NAVIT_JAVA_MENU_ZOOMOUT_nl;\r
+                       NavitTextTranslations.NAVIT_JAVA_MENU_EXIT = NavitTextTranslations.NAVIT_JAVA_MENU_EXIT_nl;\r
+                       NavitTextTranslations.NAVIT_JAVA_MENU_TOGGLE_POI = NavitTextTranslations.NAVIT_JAVA_MENU_TOGGLE_POI_nl;\r
+                       NavitTextTranslations.NAVIT_JAVA_OVERLAY_BUBBLE_DRIVEHERE = NavitTextTranslations.NAVIT_JAVA_OVERLAY_BUBBLE_DRIVEHERE_nl;\r
                }\r
                // hardcoded strings for now, use routine down below later!!\r
                // hardcoded strings for now, use routine down below later!!\r
@@ -463,7 +291,7 @@ public class Navit extends Activity implements Handler.Callback
                 * show info box for first time users\r
                 */\r
                AlertDialog.Builder infobox = new AlertDialog.Builder(this);\r
-               infobox.setTitle(INFO_BOX_TITLE);\r
+               infobox.setTitle(NavitTextTranslations.INFO_BOX_TITLE);\r
                infobox.setCancelable(false);\r
                final TextView message = new TextView(this);\r
                message.setFadingEdgeLength(20);\r
@@ -477,12 +305,13 @@ public class Navit extends Activity implements Handler.Callback
                //rlp.leftMargin = 8; -> we use "m" string\r
 \r
                message.setLayoutParams(rlp);\r
-               final SpannableString s = new SpannableString(INFO_BOX_TEXT);\r
+               final SpannableString s = new SpannableString(NavitTextTranslations.INFO_BOX_TEXT);\r
                Linkify.addLinks(s, Linkify.WEB_URLS);\r
                message.setText(s);\r
                message.setMovementMethod(LinkMovementMethod.getInstance());\r
                infobox.setView(message);\r
 \r
+                //TRANS\r
                infobox.setPositiveButton("Ok", new DialogInterface.OnClickListener()\r
                {\r
                        public void onClick(DialogInterface arg0, int arg1)\r
@@ -490,7 +319,8 @@ public class Navit extends Activity implements Handler.Callback
                                Log.e("Navit", "Ok, user saw the infobox");\r
                        }\r
                });\r
-               infobox.setNeutralButton(NAVIT_JAVA_MENU_MOREINFO, new DialogInterface.OnClickListener()\r
+\r
+               infobox.setNeutralButton(NavitTextTranslations.NAVIT_JAVA_MENU_MOREINFO, new DialogInterface.OnClickListener()\r
                {\r
                        public void onClick(DialogInterface arg0, int arg1)\r
                        {\r
@@ -778,14 +608,14 @@ public class Navit extends Activity implements Handler.Callback
                        }\r
                        else\r
                        {\r
-                               if (unparsable_info_box && !searchBoxShown )\r
+                               if (unparsable_info_box && !searchBoxShown)\r
                                {\r
-                                       \r
+\r
                                        searchBoxShown = true;\r
                                        String searchString = intent_data.split("q=")[1];\r
                                        searchString = searchString.split("&")[0];\r
                                        searchString = URLDecoder.decode(searchString); // decode the URL: e.g. %20 -> space\r
-                                       Log.e("Navit","Search String :" + searchString);\r
+                                       Log.e("Navit", "Search String :" + searchString);\r
                                        executeSearch(searchString);\r
                                }\r
                        }\r
@@ -840,17 +670,17 @@ public class Navit extends Activity implements Handler.Callback
                menu.clear();\r
 \r
                // group-id,item-id,sort order number\r
-               menu.add(1, 1, 100, NAVIT_JAVA_MENU_ZOOMIN);\r
-               menu.add(1, 2, 200, NAVIT_JAVA_MENU_ZOOMOUT);\r
+               menu.add(1, 1, 100, NavitTextTranslations.NAVIT_JAVA_MENU_ZOOMIN);\r
+               menu.add(1, 2, 200, NavitTextTranslations.NAVIT_JAVA_MENU_ZOOMOUT);\r
 \r
-               menu.add(1, 3, 300, NAVIT_JAVA_MENU_download_first_map);\r
-               menu.add(1, 5, 400, NAVIT_JAVA_MENU_TOGGLE_POI);\r
+               menu.add(1, 3, 300, NavitTextTranslations.NAVIT_JAVA_MENU_download_first_map);\r
+               menu.add(1, 5, 400, NavitTextTranslations.NAVIT_JAVA_MENU_TOGGLE_POI);\r
 \r
-               menu.add(1, 6, 500, "Address search");\r
+               menu.add(1, 6, 500, "Address search"); //TRANS\r
 \r
-               menu.add(1, 4, 600, NAVIT_JAVA_MENU_download_second_map);\r
+               menu.add(1, 4, 600, NavitTextTranslations.NAVIT_JAVA_MENU_download_second_map);\r
                menu.add(1, 88, 800, "--");\r
-               menu.add(1, 99, 900, NAVIT_JAVA_MENU_EXIT);\r
+               menu.add(1, 99, 900, NavitTextTranslations.NAVIT_JAVA_MENU_EXIT);\r
                return true;\r
        }\r
 \r
@@ -887,7 +717,7 @@ public class Navit extends Activity implements Handler.Callback
                if (Navit_last_address_search_string.equals(""))\r
                {\r
                        // empty search string entered\r
-                       Toast.makeText(getApplicationContext(), "No address found", Toast.LENGTH_LONG).show();\r
+                       Toast.makeText(getApplicationContext(), "No address found", Toast.LENGTH_LONG).show(); //TRANS\r
                }\r
                else\r
                {\r
@@ -950,7 +780,7 @@ public class Navit extends Activity implements Handler.Callback
                                                Navit.NavitDownloaderSecSelectMap_id);\r
                                break;\r
                        case 5 :\r
-                               // toggle the normal POI layers (to avoid double POIs)\r
+                               // toggle the normal POI layers (to avoid double POIs) --> why is this double ???\r
                                msg = new Message();\r
                                b = new Bundle();\r
                                b.putInt("Callback", 5);\r
@@ -966,7 +796,7 @@ public class Navit extends Activity implements Handler.Callback
                                N_NavitGraphics.callback_handler.sendMessage(msg);\r
 \r
 \r
-                               // toggle full POI icons on/off\r
+                               // toggle full POI icons on/off --> why is this double ???\r
                                msg = new Message();\r
                                b = new Bundle();\r
                                b.putInt("Callback", 5);\r
@@ -984,7 +814,7 @@ public class Navit extends Activity implements Handler.Callback
                        case 6 :\r
                                // ok startup address search activity\r
                                Intent search_intent = new Intent(this, NavitAddressSearchActivity.class);\r
-                               search_intent.putExtra("title", "Enter: City and Street");\r
+                               search_intent.putExtra("title", "Enter: City and Street"); //TRANS\r
                                search_intent.putExtra("address_string", Navit_last_address_search_string);\r
                                String pm_temp = "0";\r
                                if (Navit_last_address_partial_match)\r
@@ -1098,7 +928,7 @@ public class Navit extends Activity implements Handler.Callback
                                                        {\r
                                                                // empty search string entered\r
                                                                Toast.makeText(getApplicationContext(), "No search string entered",\r
-                                                                               Toast.LENGTH_LONG).show();\r
+                                                                               Toast.LENGTH_LONG).show(); //TRANS\r
                                                        }\r
                                                        else\r
                                                        {\r
@@ -1146,7 +976,7 @@ public class Navit extends Activity implements Handler.Callback
                                                                                        getApplicationContext(),\r
                                                                                        "setting destination to "\r
                                                                                                        + Navit.NavitAddressResultList_foundItems\r
-                                                                                                                       .get(destination_id).addr, Toast.LENGTH_LONG).show();\r
+                                                                                                                       .get(destination_id).addr, Toast.LENGTH_LONG).show(); //TRANS\r
 \r
                                                        Message msg = new Message();\r
                                                        Bundle b = new Bundle();\r
@@ -1213,8 +1043,8 @@ public class Navit extends Activity implements Handler.Callback
                                        b.putInt("dialog_num", this.dialog_num);\r
                                        b.putInt("max", Navit.ADDRESS_RESULTS_DIALOG_MAX);\r
                                        b.putInt("cur", this.spinner_current_value % (Navit.ADDRESS_RESULTS_DIALOG_MAX + 1));\r
-                                       b.putString("title", "getting search results");\r
-                                       b.putString("text", "searching ...");\r
+                                       b.putString("title", "getting search results"); //TRANS\r
+                                       b.putString("text", "searching ..."); //TRANS\r
                                        msg.setData(b);\r
                                        mHandler.sendMessage(msg);\r
                                        try\r
@@ -1263,8 +1093,8 @@ public class Navit extends Activity implements Handler.Callback
                        b.putInt("dialog_num", this.my_dialog_num);\r
                        b.putInt("max", Navit.ADDRESS_RESULTS_DIALOG_MAX);\r
                        b.putInt("cur", 0);\r
-                       b.putString("title", "getting search results");\r
-                       b.putString("text", "searching ...");\r
+                       b.putString("title", "getting search results"); //TRANS\r
+                       b.putString("text", "searching ..."); //TRANS\r
                        msg.setData(b);\r
                        mHandler.sendMessage(msg);\r
 \r
@@ -1292,7 +1122,7 @@ public class Navit extends Activity implements Handler.Callback
                                msg = mHandler.obtainMessage();\r
                                b = new Bundle();\r
                                msg.what = 3;\r
-                               b.putString("text", "No Results found!");\r
+                               b.putString("text", "No Results found!"); //TRANS\r
                                msg.setData(b);\r
                                mHandler.sendMessage(msg);\r
                        }\r
@@ -1537,14 +1367,14 @@ public class Navit extends Activity implements Handler.Callback
        {\r
                System.loadLibrary("navit");\r
        }\r
-       \r
+\r
        /*\r
-       * Show a search activity with the string "search" filled in\r
-       */\r
+        * Show a search activity with the string "search" filled in\r
+        */\r
        private void executeSearch(String search)\r
        {\r
                Intent search_intent = new Intent(this, NavitAddressSearchActivity.class);\r
-               search_intent.putExtra("title", "Enter: City and Street");\r
+               search_intent.putExtra("title", "Enter: City and Street"); //TRANS\r
                search_intent.putExtra("address_string", search);\r
                String pm_temp = "0";\r
                if (Navit_last_address_partial_match)\r
index 884d1cd..7b367ad 100644 (file)
@@ -38,7 +38,7 @@ public class NavitAddressSearchActivity extends Activity
 \r
                // address: label and text field\r
                TextView addr_view = new TextView(this);\r
-               addr_view.setText("Type Address");\r
+               addr_view.setText("Type Address"); //TRANS\r
                addr_view.setTextSize(TypedValue.COMPLEX_UNIT_SP, 20f);\r
                addr_view.setLayoutParams(new LayoutParams(LayoutParams.WRAP_CONTENT,\r
                                LayoutParams.WRAP_CONTENT));\r
@@ -46,7 +46,7 @@ public class NavitAddressSearchActivity extends Activity
 \r
                // partial match checkbox\r
                pm_checkbox = new CheckBox(this);\r
-               pm_checkbox.setText("partial match");\r
+               pm_checkbox.setText("partial match"); //TRANS\r
                pm_checkbox.setChecked(false);\r
                pm_checkbox.setLayoutParams(new LayoutParams(LayoutParams.FILL_PARENT,\r
                                LayoutParams.WRAP_CONTENT));\r
@@ -55,7 +55,7 @@ public class NavitAddressSearchActivity extends Activity
 \r
                // search button\r
                final Button btnSearch = new Button(this);\r
-               btnSearch.setText("Search");\r
+               btnSearch.setText("Search"); //TRANS\r
                btnSearch.setLayoutParams(new LayoutParams(LayoutParams.FILL_PARENT,\r
                                LayoutParams.WRAP_CONTENT));\r
                btnSearch.setGravity(Gravity.CENTER);\r
index a92e2e1..160aece 100644 (file)
@@ -357,7 +357,7 @@ public class NavitAndroidOverlay extends ImageView
                        bubble_paint.setTextSize((int) (20 / 1.5f * draw_factor));\r
                        bubble_paint.setStrokeWidth(3);\r
                        bubble_paint.setColor(Color.parseColor("#3b3131"));\r
-                       c.drawText(Navit.NAVIT_JAVA_OVERLAY_BUBBLE_DRIVEHERE, this.bubble_001.x + dx + inner_dx,\r
+                       c.drawText(NavitTextTranslations.NAVIT_JAVA_OVERLAY_BUBBLE_DRIVEHERE, this.bubble_001.x + dx + inner_dx,\r
                                        this.bubble_001.y + dy + inner_dy, bubble_paint);\r
 \r
                }\r
index d639bb1..e098e74 100644 (file)
@@ -37,7 +37,7 @@ public class NavitDownloadSelectMapActivity extends ListActivity
        public void onCreate(Bundle savedInstanceState)\r
        {\r
                super.onCreate(savedInstanceState);\r
-               Log.e("Navit", "all ok");\r
+               //Log.e("Navit", "all ok");\r
 \r
                /*\r
                 * \r
index 4e53811..021e54f 100644 (file)
@@ -1263,10 +1263,10 @@ public class NavitGraphics
                b.putInt("max", Navit.ADDRESS_RESULTS_DIALOG_MAX);
                b.putInt("cur", Navit.NavitAddressResultList_foundItems.size()
                                % (Navit.ADDRESS_RESULTS_DIALOG_MAX + 1));
-               b.putString("title", "loading search results");
+               b.putString("title", "loading search results"); //TRANS
                b.putString("text", "towns:" + Navit.search_results_towns + " streets:"
                                + (int) (Navit.search_results_streets + Navit.search_results_streets_hn));
-               Navit.msg_to_msg_handler(b, 10);
+               Navit.msg_to_msg_handler(b, 10); //TRANS
        }
        public void SearchResultList(int i, int partial_match, String text)
        {
index 089a91a..0643011 100644 (file)
@@ -664,8 +664,8 @@ public class NavitMapDownloader
                b.putInt("max", 20); // use a dummy number here\r
                b.putInt("cur", 0);\r
                b.putInt("dialog_num", my_dialog_num);\r
-               b.putString("title", "Mapdownload");\r
-               b.putString("text", "downloading: " + map_values.map_name);\r
+               b.putString("title", "Mapdownload"); //TRANS\r
+               b.putString("text", "downloading: " + map_values.map_name); //TRANS\r
                msg.setData(b);\r
                handler.sendMessage(msg);\r
                try\r
@@ -762,7 +762,7 @@ public class NavitMapDownloader
                                        b.putInt("max", (int) (map_values.est_size_bytes / 1024));\r
                                        b.putInt("cur", (int) (already_read / 1024));\r
                                        b.putInt("dialog_num", my_dialog_num);\r
-                                       b.putString("title", "Map download");\r
+                                       b.putString("title", "Map download"); //TRANS\r
                                        per_second_overall = (float) already_read\r
                                                        / (float) ((System.currentTimeMillis() - start_timestamp) / 1000);\r
                                        kbytes_per_second = formatter.format((per_second_overall / 1024f));\r
@@ -780,7 +780,7 @@ public class NavitMapDownloader
                                                        + (int) (already_read / 1024f / 1024f) + "Mb / "\r
                                                        + (int) (map_values.est_size_bytes / 1024f / 1024f) + "Mb" + "\n" + " "\r
                                                        + kbytes_per_second + "kb/s" + " ETA: " + eta_string + "\n" +\r
-                                                       "Map data CC-BY-SA by OpenStreetMap");\r
+                                                       "Map data CC-BY-SA by OpenStreetMap"); //TRANS\r
                                        msg.setData(b);\r
                                        handler.sendMessage(msg);\r
                                        //                                      try\r
@@ -815,7 +815,7 @@ public class NavitMapDownloader
                        b = new Bundle();\r
                        msg.what = 2;\r
                        b.putInt("dialog_num", my_dialog_num);\r
-                       b.putString("text", "Error downloading map!");\r
+                       b.putString("text", "Error downloading map!"); //TRANS\r
                        msg.setData(b);\r
                        handler.sendMessage(msg);\r
 \r
@@ -828,7 +828,7 @@ public class NavitMapDownloader
                        b = new Bundle();\r
                        msg.what = 2;\r
                        b.putInt("dialog_num", my_dialog_num);\r
-                       b.putString("text", "Error downloading map!");\r
+                       b.putString("text", "Error downloading map!"); //TRANS\r
                        msg.setData(b);\r
                        handler.sendMessage(msg);\r
 \r
@@ -842,8 +842,8 @@ public class NavitMapDownloader
                b.putInt("max", (int) (map_values.est_size_bytes / 1024));\r
                b.putInt("cur", (int) (map_values.est_size_bytes / 1024));\r
                b.putInt("dialog_num", my_dialog_num);\r
-               b.putString("title", "Mapdownload");\r
-               b.putString("text", map_values.map_name + " ready");\r
+               b.putString("title", "Mapdownload"); //TRANS\r
+               b.putString("text", map_values.map_name + " ready"); //TRANS\r
                msg.setData(b);\r
                handler.sendMessage(msg);\r
 \r
diff --git a/navit/navit/android/src/org/navitproject/navit/NavitTextTranslations.java b/navit/navit/android/src/org/navitproject/navit/NavitTextTranslations.java
new file mode 100644 (file)
index 0000000..07ef016
--- /dev/null
@@ -0,0 +1,177 @@
+package org.navitproject.navit;\r
+\r
+public class NavitTextTranslations\r
+{\r
+       // space !!\r
+       static final String     m                                                                                                       = " ";\r
+\r
+       static final String     NAVIT_JAVA_MENU_download_first_map_en   = "download first map";\r
+       static final String     NAVIT_JAVA_MENU_download_first_map_fr   = "télécharchez 1ere carte";\r
+       static final String     NAVIT_JAVA_MENU_download_first_map_nl   = "download eerste kaart";\r
+       static final String     NAVIT_JAVA_MENU_download_first_map_de   = "1te karte runterladen";\r
+\r
+       static final String     INFO_BOX_TITLE_en                                                               = "Welcome to Navit";\r
+       static final String     INFO_BOX_TITLE_fr                                                               = "Bienvenue chez Navit";\r
+       static final String     INFO_BOX_TITLE_nl                                                               = "Welkom bij Navit";\r
+       static final String     INFO_BOX_TITLE_de                                                               = "Willkommen bei Navit";\r
+\r
+       static final String     INFO_BOX_TEXT_en                                                                = m\r
+                                                                                                                                                                                       + "You are running Navit for the first time!\n\n"\r
+                                                                                                                                                                                       + m\r
+                                                                                                                                                                                       + "To start select \""\r
+                                                                                                                                                                                       + NAVIT_JAVA_MENU_download_first_map_en\r
+                                                                                                                                                                                       + "\"\n"\r
+                                                                                                                                                                                       + m\r
+                                                                                                                                                                                       + "from the menu, and download a map\n"\r
+                                                                                                                                                                                       + m\r
+                                                                                                                                                                                       + "for your current Area.\n"\r
+                                                                                                                                                                                       + m\r
+                                                                                                                                                                                       + "This will download a large file, so please\n"\r
+                                                                                                                                                                                       + m\r
+                                                                                                                                                                                       + "make sure you have a flatrate or similar!\n\n"\r
+                                                                                                                                                                                       + m\r
+                                                                                                                                                                                       + "Mapdata:\n"\r
+                                                                                                                                                                                       + m\r
+                                                                                                                                                                                       + "CC-BY-SA OpenStreetMap Project\n\n"\r
+                                                                                                                                                                                       + m\r
+                                                                                                                                                                                       + "For more information on Navit\n"\r
+                                                                                                                                                                                       + m\r
+                                                                                                                                                                                       + "visit our Website\n"\r
+                                                                                                                                                                                       + m\r
+                                                                                                                                                                                       + "http://wiki.navit-project.org/\n"\r
+                                                                                                                                                                                       + "\n"\r
+                                                                                                                                                                                       + m\r
+                                                                                                                                                                                       + "      Have fun using Navit.";\r
+       static final String     INFO_BOX_TEXT_fr                                                                = m\r
+\r
+                                                                                                                                                                                       + "Vous exécutez Navit pour la première fois\n\n"\r
+                                                                                                                                                                                       + m\r
+                                                                                                                                                                                       + "Pour commencer, sélectionnez \n \""\r
+\r
+                                                                                                                                                                                       + NAVIT_JAVA_MENU_download_first_map_fr\r
+                                                                                                                                                                                       + "\"\n"\r
+                                                                                                                                                                                       + m\r
+\r
+                                                                                                                                                                                       + "du menu et télechargez une carte\n de votre région.\n"\r
+                                                                                                                                                                                       + m\r
+\r
+                                                                                                                                                                                       + "Les cartes sont volumineux, donc\n il est préférable d'avoir une connection\n internet illimitée!\n\n"\r
+                                                                                                                                                                                       + m\r
+                                                                                                                                                                                       + "Mapdata:\n"\r
+                                                                                                                                                                                       + m\r
+                                                                                                                                                                                       + "CC-BY-SA OpenStreetMap Project\n\n"\r
+                                                                                                                                                                                       + m\r
+                                                                                                                                                                                       + "Pour plus d'infos sur Navit\n"\r
+                                                                                                                                                                                       + m\r
+                                                                                                                                                                                       + "visitez notre site internet\n"\r
+                                                                                                                                                                                       + m\r
+\r
+                                                                                                                                                                                       + "http://wiki.navit-project.org/\n"\r
+                                                                                                                                                                                       + "\n"\r
+                                                                                                                                                                                       + m\r
+                                                                                                                                                                                       + "      Amusez vous avec Navit.";\r
+       static final String     INFO_BOX_TEXT_de                                                                = m\r
+                                                                                                                                                                                       + "Sie starten Navit zum ersten Mal!\n\n"\r
+                                                                                                                                                                                       + m\r
+                                                                                                                                                                                       + "Zum loslegen im Menu \""\r
+                                                                                                                                                                                       + NAVIT_JAVA_MENU_download_first_map_en\r
+                                                                                                                                                                                       + "\"\n"\r
+                                                                                                                                                                                       + m\r
+                                                                                                                                                                                       + "auswählen und Karte für die\n"\r
+                                                                                                                                                                                       + m\r
+                                                                                                                                                                                       + "gewünschte Region downloaden.\n"\r
+                                                                                                                                                                                       + m\r
+                                                                                                                                                                                       + "Die Kartendatei ist sehr gross,\n"\r
+                                                                                                                                                                                       + m\r
+                                                                                                                                                                                       + "bitte flatrate oder ähnliches aktivieren!\n\n"\r
+                                                                                                                                                                                       + m\r
+                                                                                                                                                                                       + "Kartendaten:\n"\r
+                                                                                                                                                                                       + m\r
+                                                                                                                                                                                       + "CC-BY-SA OpenStreetMap Project\n\n"\r
+                                                                                                                                                                                       + m\r
+                                                                                                                                                                                       + "Für mehr Infos zu Navit\n"\r
+                                                                                                                                                                                       + m\r
+                                                                                                                                                                                       + "bitte die Website besuchen\n"\r
+                                                                                                                                                                                       + m\r
+                                                                                                                                                                                       + "http://wiki.navit-project.org/\n"\r
+                                                                                                                                                                                       + "\n" + m\r
+                                                                                                                                                                                       + "      Viel Spaß mit Navit.";\r
+       static final String     INFO_BOX_TEXT_nl                                                                = m\r
+\r
+                                                                                                                                                                                       + "U voert Navit voor de eerste keer uit.\n\n"\r
+                                                                                                                                                                                       + m\r
+                                                                                                                                                                                       + "Om te beginnen, selecteer  \n \""\r
+\r
+                                                                                                                                                                                       + NAVIT_JAVA_MENU_download_first_map_nl\r
+                                                                                                                                                                                       + "\"\n"\r
+                                                                                                                                                                                       + m\r
+\r
+                                                                                                                                                                                       + "uit het menu en download een kaart\n van je regio.\n"\r
+                                                                                                                                                                                       + m\r
+\r
+                                                                                                                                                                                       + "De kaarten zijn groot,\n het is dus aangeraden om een \n ongelimiteerde internetverbinding te hebben!\n\n"\r
+                                                                                                                                                                                       + m\r
+                                                                                                                                                                                       + "Mapdata:\n"\r
+                                                                                                                                                                                       + m\r
+                                                                                                                                                                                       + "CC-BY-SA OpenStreetMap Project\n\n"\r
+                                                                                                                                                                                       + m\r
+\r
+                                                                                                                                                                                       + "Voor meer info over Navit\n"\r
+                                                                                                                                                                                       + m\r
+                                                                                                                                                                                       + "bezoek onze site\n"\r
+                                                                                                                                                                                       + m\r
+\r
+                                                                                                                                                                                       + "http://wiki.navit-project.org/\n"\r
+                                                                                                                                                                                       + "\n"\r
+                                                                                                                                                                                       + m\r
+                                                                                                                                                                                       + "      Nog veel plezier met Navit.";\r
+\r
+       static final String     NAVIT_JAVA_MENU_MOREINFO_en                             = "More info";\r
+       static final String     NAVIT_JAVA_MENU_MOREINFO_fr                             = "plus d'infos";\r
+       static final String     NAVIT_JAVA_MENU_MOREINFO_nl                             = "meer info";\r
+       static final String     NAVIT_JAVA_MENU_MOREINFO_de                             = "Mehr infos";\r
+\r
+       static final String     NAVIT_JAVA_MENU_ZOOMIN_en                                       = "zoom in";\r
+       static final String     NAVIT_JAVA_MENU_ZOOMIN_fr                                       = "zoom-avant";\r
+       static final String     NAVIT_JAVA_MENU_ZOOMIN_nl                                       = "inzoomen";\r
+       static final String     NAVIT_JAVA_MENU_ZOOMIN_de                                       = "zoom in";\r
+\r
+       static final String     NAVIT_JAVA_MENU_ZOOMOUT_en                                      = "zoom out";\r
+       static final String     NAVIT_JAVA_MENU_ZOOMOUT_fr                                      = "zoom-arrière";\r
+       static final String     NAVIT_JAVA_MENU_ZOOMOUT_nl                                      = "uitzoomen";\r
+       static final String     NAVIT_JAVA_MENU_ZOOMOUT_de                                      = "zoom out";\r
+\r
+       static final String     NAVIT_JAVA_MENU_EXIT_en                                         = "Exit Navit";\r
+       static final String     NAVIT_JAVA_MENU_EXIT_fr                                         = "quittez Navit";\r
+       static final String     NAVIT_JAVA_MENU_EXIT_nl                                         = "Navit afsluiten";\r
+       static final String     NAVIT_JAVA_MENU_EXIT_de                                         = "Navit Beenden";\r
+\r
+       static final String     NAVIT_JAVA_MENU_TOGGLE_POI_en                           = "toggle POI";\r
+       static final String     NAVIT_JAVA_MENU_TOGGLE_POI_fr                           = "POI on/off";\r
+       static final String     NAVIT_JAVA_MENU_TOGGLE_POI_nl                           = "POI aan/uit";\r
+       static final String     NAVIT_JAVA_MENU_TOGGLE_POI_de                           = "POI ein/aus";\r
+\r
+       static final String     NAVIT_JAVA_OVERLAY_BUBBLE_DRIVEHERE_en  = "drive here";\r
+       static final String     NAVIT_JAVA_OVERLAY_BUBBLE_DRIVEHERE_fr  = "conduisez";\r
+       static final String     NAVIT_JAVA_OVERLAY_BUBBLE_DRIVEHERE_nl  = "Ga naar hier";\r
+       static final String     NAVIT_JAVA_OVERLAY_BUBBLE_DRIVEHERE_de  = "Ziel setzen";\r
+\r
+       static final String     NAVIT_JAVA_MENU_download_second_map_en  = "download 2nd map";\r
+       static final String     NAVIT_JAVA_MENU_download_second_map_fr  = "télécharchez 2ème carte";\r
+       static final String     NAVIT_JAVA_MENU_download_second_map_nl  = "download 2de kaart";\r
+       static final String     NAVIT_JAVA_MENU_download_second_map_de  = "2te karte runterladen";\r
+\r
+       // default values\r
+       static String                   NAVIT_JAVA_MENU_download_first_map              = NAVIT_JAVA_MENU_download_first_map_en;\r
+       static String                   NAVIT_JAVA_MENU_download_second_map             = NAVIT_JAVA_MENU_download_second_map_en;\r
+       static String                   INFO_BOX_TITLE                                                                  = INFO_BOX_TITLE_en;\r
+       static String                   INFO_BOX_TEXT                                                                   = INFO_BOX_TEXT_en;\r
+       static String                   NAVIT_JAVA_MENU_MOREINFO                                        = NAVIT_JAVA_MENU_MOREINFO_en;\r
+       static String                   NAVIT_JAVA_MENU_ZOOMIN                                          = NAVIT_JAVA_MENU_ZOOMIN_en;\r
+       static String                   NAVIT_JAVA_MENU_ZOOMOUT                                         = NAVIT_JAVA_MENU_ZOOMOUT_en;\r
+       static String                   NAVIT_JAVA_MENU_EXIT                                                    = NAVIT_JAVA_MENU_EXIT_en;\r
+       static String                   NAVIT_JAVA_MENU_TOGGLE_POI                                      = NAVIT_JAVA_MENU_TOGGLE_POI_en;\r
+       static String                   NAVIT_JAVA_OVERLAY_BUBBLE_DRIVEHERE             = NAVIT_JAVA_OVERLAY_BUBBLE_DRIVEHERE_en;\r
+\r
+\r
+}\r