[tuxdroid-svn] r5392 - in software_suite_v3/smart-core/smart-server/branches/user_mode: translatio
Status: Beta
Brought to you by:
ks156
|
From: ks156 <c2m...@c2...> - 2009-09-15 09:39:51
|
Author: ks156 Date: 2009-09-15 11:39:41 +0200 (Tue, 15 Sep 2009) New Revision: 5392 Added: software_suite_v3/smart-core/smart-server/branches/user_mode/translation/wi_user/de.po Modified: software_suite_v3/smart-core/smart-server/branches/user_mode/util/applicationserver/plugin/PluginDescription.py software_suite_v3/smart-core/smart-server/branches/user_mode/util/applicationserver/plugin/interpreters/PluginInterpreter.py software_suite_v3/smart-core/smart-server/branches/user_mode/util/applicationserver/plugin/interpreters/PluginInterpreterContext.py software_suite_v3/smart-core/smart-server/branches/user_mode/util/applicationserver/plugin/interpreters/PluginInterpreterJava.py Log: * Merged rev 5366 to 5391 from trunk -> user_mode Copied: software_suite_v3/smart-core/smart-server/branches/user_mode/translation/wi_user/de.po (from rev 5391, software_suite_v3/smart-core/smart-server/trunk/translation/wi_user/de.po) =================================================================== --- software_suite_v3/smart-core/smart-server/branches/user_mode/translation/wi_user/de.po (rev 0) +++ software_suite_v3/smart-core/smart-server/branches/user_mode/translation/wi_user/de.po 2009-09-15 09:39:41 UTC (rev 5392) @@ -0,0 +1,192 @@ +msgid "live_with_tux" +msgstr "Leben mit Tux" + +msgid "gadgets" +msgstr "Gadgets" + +msgid "attitunes" +msgstr "Attitunes" + +msgid "tools" +msgstr "Tools" + +msgid "online" +msgstr "Online-Shop" + +msgid "status" +msgstr "Status" + +msgid "sound_on" +msgstr "Ton ein" + +msgid "sound_off" +msgstr "Ton aus" + +msgid "start" +msgstr "Start" + +msgid "stop" +msgstr "Stopp" + +msgid "all" +msgstr "Alle" + +msgid "on_demand" +msgstr "Favoriten" + +msgid "alerts" +msgstr "Hinweise" + +msgid "delete" +msgstr "Löschen" + +msgid "popup_not_yet_implemented" +msgstr "Diese Funktion ist noch nicht eingerichtet." + +msgid "popup_confirm_delete_gadget" +msgstr "Möchten Sie diese gadget löschen?" + +msgid "popup_confirm_download_gadget" +msgstr "Möchten Sie diese gadget herunterladen?" + +msgid "popup_confirm_update_gadget" +msgstr "Möchten Sie diese gadget aktualisieren?" + +msgid "popup_gadget_has_been_updated" +msgstr "Die gadget wurde aktualisiert." + +msgid "popup_confirm_delete_attitune" +msgstr "Möchten Sie diesen attitune löschen?" + +msgid "yes" +msgstr "Ja" + +msgid "no" +msgstr "Nein" + +msgid "close" +msgstr "Schließen" + +msgid "apply" +msgstr "Anwenden" + +msgid "cancel" +msgstr "Abbrechen" + +msgid "gadget_settings" +msgstr "Funktionseinstellungen" + +msgid "gadget_name" +msgstr "Funktionsname" + +msgid "my_use_of_the_gadget" +msgstr "Meine Funktionsanwendung" + +msgid "on_demand_config_section" +msgstr "Favorit" + +msgid "on_demand_description" +msgstr "Diese gadget wird in die Favoritenliste aufgenommen." + +msgid "date" +msgstr "Datum" + +msgid "starting_at" +msgstr "Start um" + +msgid "stopping_at" +msgstr "Ende um" + +msgid "delay" +msgstr "Häufigkeit" + +msgid "my_week" +msgstr "Meine Woche" + +msgid "all_days" +msgstr "Täglich" + +msgid "working_days" +msgstr "Werktags" + +msgid "weekend" +msgstr "Wochenende" + +msgid "monday" +msgstr "Montag" + +msgid "tuesday" +msgstr "Dienstag" + +msgid "wednesday" +msgstr "Mittwoch" + +msgid "thursday" +msgstr "Donnerstag" + +msgid "friday" +msgstr "Freitag" + +msgid "saturday" +msgstr "Samstag" + +msgid "sunday" +msgstr "Sonntag" + +msgid "quart_hours" +msgstr "Viertelstündlich" + +msgid "half_hours" +msgstr "Halbstündlich" + +msgid "full_hours" +msgstr "Stündlich" + +msgid "crazy" +msgstr "Crazy" + +msgid "often" +msgstr "Häufig" + +msgid "normal" +msgstr "Normal" + +msgid "rarely" +msgstr "Selten" + +msgid "show" +msgstr "Anzeigen" + +msgid "online_documentation" +msgstr "Online-Dokumentation" + +msgid "documentation_url" +msgstr "http://www.kysoh.com/documentation-3?set_language=de" + +msgid "global_settings" +msgstr "Allgemeine Einstellungen" + +msgid "introduction_alerts" +msgstr "Ankündigungsmeldungen" + +msgid "voice_settings" +msgstr "Spracheinstellungen" + +msgid "voice_param_title" +msgstr "Stimme" + +msgid "pitch_param_title" +msgstr "Stimmhöhe" + +msgid "test" +msgstr "Test" + +msgid "pitch_tux_voice" +msgstr "Tux-Stimme" + +msgid "pitch_normal" +msgstr "Normal" + +msgid "pitch_low" +msgstr "Tief" + Modified: software_suite_v3/smart-core/smart-server/branches/user_mode/util/applicationserver/plugin/PluginDescription.py =================================================================== --- software_suite_v3/smart-core/smart-server/branches/user_mode/util/applicationserver/plugin/PluginDescription.py 2009-09-15 09:24:50 UTC (rev 5391) +++ software_suite_v3/smart-core/smart-server/branches/user_mode/util/applicationserver/plugin/PluginDescription.py 2009-09-15 09:39:41 UTC (rev 5392) @@ -32,6 +32,7 @@ self.__version = None self.__description = None self.__iconFile = None + self.__splashScreenFile = None self.__helpFile = None self.__platform = None self.__ttsName = None @@ -69,6 +70,11 @@ self.__version = dictionary['version'] self.__uuid = dictionary['uuid'] self.__iconFile = os.path.join(workingPath, dictionary['iconFile']) + tmpFileName = os.path.join(workingPath, "resources", "splash.gif") + if os.path.isfile(tmpFileName): + self.__splashScreenFile = tmpFileName + else: + self.__splashScreenFile = None self.__description = dictionary['description'] self.__workingPath = workingPath self.__platform = "all" @@ -160,6 +166,15 @@ return self.__iconFile # -------------------------------------------------------------------------- + # Get the splash-screen image of the plugin. + # -------------------------------------------------------------------------- + def getSplashScreenFile(self): + """Get the splash-screen image of the plugin. + @return: A string. + """ + return self.__splashScreenFile + + # -------------------------------------------------------------------------- # Get the translated help content of the plugin. # -------------------------------------------------------------------------- def getHelpFile(self, language = None): Modified: software_suite_v3/smart-core/smart-server/branches/user_mode/util/applicationserver/plugin/interpreters/PluginInterpreter.py =================================================================== --- software_suite_v3/smart-core/smart-server/branches/user_mode/util/applicationserver/plugin/interpreters/PluginInterpreter.py 2009-09-15 09:24:50 UTC (rev 5391) +++ software_suite_v3/smart-core/smart-server/branches/user_mode/util/applicationserver/plugin/interpreters/PluginInterpreter.py 2009-09-15 09:39:41 UTC (rev 5392) @@ -30,6 +30,7 @@ self.__process = None self.__pid = None self.__daemon = False + self.__splashScreen = None self.__onPluginStartedCallback = None self.__onPluginStoppedCallback = None self.__onNotificationThrowedCallback = None @@ -78,6 +79,24 @@ return self.__workingPath # -------------------------------------------------------------------------- + # Set the splash screen image. + # -------------------------------------------------------------------------- + def setSplashScreen(self, splashScreen): + """Set the splash screen image. + @param splashScreen: Splash screen image path. + """ + self.__splashScreen = splashScreen + + # -------------------------------------------------------------------------- + # Get the splash screen image. + # -------------------------------------------------------------------------- + def getSplashScreen(self): + """Get the splash screen image. + @return: A string. + """ + return self.__splashScreen + + # -------------------------------------------------------------------------- # Set the executable. # -------------------------------------------------------------------------- def setExecutable(self, executable): Modified: software_suite_v3/smart-core/smart-server/branches/user_mode/util/applicationserver/plugin/interpreters/PluginInterpreterContext.py =================================================================== --- software_suite_v3/smart-core/smart-server/branches/user_mode/util/applicationserver/plugin/interpreters/PluginInterpreterContext.py 2009-09-15 09:24:50 UTC (rev 5391) +++ software_suite_v3/smart-core/smart-server/branches/user_mode/util/applicationserver/plugin/interpreters/PluginInterpreterContext.py 2009-09-15 09:39:41 UTC (rev 5392) @@ -26,6 +26,7 @@ self.__pluginInterpreter.setOnNotificationThrowedCallback(self.__onInterpreterNotification) self.__pluginInterpreter.setWorkingPath(self.__parentPlugin.getWorkingPath()) self.__pluginInterpreter.setExecutable(interpreterExecution) + self.__pluginInterpreter.setSplashScreen(self.__parentPlugin.getDescription().getSplashScreenFile()) self.__pluginInstanceParameters = {} self.__pluginInstanceCommand = "" self.__pluginInstanceIsDaemon = False Modified: software_suite_v3/smart-core/smart-server/branches/user_mode/util/applicationserver/plugin/interpreters/PluginInterpreterJava.py =================================================================== --- software_suite_v3/smart-core/smart-server/branches/user_mode/util/applicationserver/plugin/interpreters/PluginInterpreterJava.py 2009-09-15 09:24:50 UTC (rev 5391) +++ software_suite_v3/smart-core/smart-server/branches/user_mode/util/applicationserver/plugin/interpreters/PluginInterpreterJava.py 2009-09-15 09:39:41 UTC (rev 5392) @@ -67,4 +67,7 @@ fClassPath, self.getExecutable(), ] + if self.getSplashScreen() != None: + if os.name == 'nt': + command.insert(1, "-splash:%s" % self.getSplashScreen()) return command |