sTEFANs Subversion Web Contol (SWC)
Inc-Resources
[ class tree: Swc ] [ index: Swc ] [ all elements ]

Source for file de.php

Documentation is available at de.php

  1. <?php
  2. /* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  3. SVN Web Control
  4. Copyright ©2006 by sTEFANs
  5. Created on 13.03.2006
  6. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  7. This program is free software; you can redistribute it and/or modify
  8. it under the terms of the GNU General Public License as published by
  9. the Free Software Foundation; either version 2 of the License, or
  10. (at your option) any later version.
  11.  
  12. This program is distributed in the hope that it will be useful,
  13. but WITHOUT ANY WARRANTY; without even the implied warranty of
  14. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  15. GNU General Public License for more details.
  16.  
  17. You should have received a copy of the GNU General Public License
  18. along with this program; if not, write to the Free Software
  19. Foundation, Inc., 59 Temple Place - Suite 330,
  20. Boston, MA 02111-1307, USA.
  21. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  22. */
  23.  
  24. /**
  25.  * Translation and localistation resource file for German (general).
  26.  * 
  27.  * @see _default.php
  28.  * @package Swc
  29.  * @subpackage Inc-Resources
  30.  * @author Stefan Schraml
  31.  * @copyright Copyright ©2006 by sTEFANs
  32.  * @license http://opensource.org/licenses/lgpl-license.php GNU General Public License
  33.  * @version v1.1.0
  34.  * @since v1.0.0
  35.  */
  36.  
  37. /* 
  38.  * This function translates a text identified by $key 
  39.  * to the language of the file. the function should provide
  40.  * some default text if the given key is unknown.
  41.  * @param defined $key A translation key as defined witin
  42.  * <b>inc/translation_keys.inc.php</b>
  43.  * @return string The translated text.
  44.  * 
  45.  * @since v1.0.0
  46.  */
  47. /** @ignore */
  48. function Translate($key){
  49.     static $translation_table = NULL;
  50.     if ($translation_table == NULL){
  51.         $translation_table = array();
  52.         $translation_table[TK_ERROR_MISSING_PROJECT__PROJECT_NAME] = 'Der Workspace für Projekt %s wurde nicht gefunden. Entweder ist der Webspace nicht importiert (ausgecheckt) oder das Projekt ist nicht korrekt konfiguriert.';
  53.         $translation_table[TK_ERROR_MISSING_CONFIG__PROJECT_NAME] = 'Es wurde keine Projektkonfiguration für Projekt %s gefunden. Evnetuell wurde das Projekt für die Verwendung von "SVN Web Control" nicht richtig konfiguriert.';
  54.         $translation_table[TK_ERROR_MISSING_CONFIG] = 'Es wurde keine Projekt Konfiguration gefunden oder "SVN Web Control" wurde nicht richtig konfiguriert.';
  55.         $translation_table[TK_NO_PROJECT_TITLE] = 'Kein Projekt';
  56.         $translation_table[TK_BROWSER_CANNOT_DISPLAY_FRAMES__LINK__LINK] = 'Ihr Browser kann keine eingebetteten Frames anzeigen. Sie können die Projektseite <a href="%s" target="_blank">%s</a> direkt aufrufen.';
  57.         $translation_table[TK_RESULT_TITLE_REP_LIST] = 'Repository Inhalt';
  58.         $translation_table[TK_RESULT_TITLE_WS_STATUS] = 'Webspace Status';
  59.         $translation_table[TK_RESULT_TITLE_WS_LOG] = 'Webspace Log';
  60.         $translation_table[TK_RESULT_TITLE_WS_INFO] = 'Webspace Info';
  61.         $translation_table[TK_RESULT_TITLE_WS_UPDATE] = 'Webspace Aktualisierung';
  62.         $translation_table[TK_RESULT_TITLE_WS_CLEANUP] = 'Webspace Aufräumung';
  63.         $translation_table[TK_RESULT_TITLE_WS_SWITCH] = 'Webspace umgeschalten';
  64.         $translation_table[TK_RESULT_TITLE_WS_CHECKOUT] = 'Webspace importiert';
  65.         $translation_table[TK_RESULT_SVN_HELP_TITLE] = 'Argumente für SVN Kommando';
  66.         $translation_table[TK_RESULT_SVN_HELP_HEADER] = 'Folgende Texte werden ersetzt:<br/>';
  67.         $translation_table[TK_RESULT_SVN_HELP_REP_SHORT] = '%rep%: Wurzelverzeichnis für Repository<br/>';
  68.         $translation_table[TK_RESULT_SVN_HELP_REP_LONG] = '%repository%: Wurzelverzeichnis für Repository<br/>';
  69.         $translation_table[TK_RESULT_SVN_HELP_WS_SHORT] = '%ws%: Wurzelverzeichnis für Webspace<br/>';
  70.         $translation_table[TK_RESULT_SVN_HELP_WS_LONG] = '%webspace%: Wurzelverzeichnis für Webspace<br/>';
  71.         $translation_table[TK_RESULT_TITLE_SVNLOOK_HELP] = 'svnlook Hilfe';
  72.         $translation_table[TK_RESULT_TITLE_SVN_HELP] = 'svn Hilfe';
  73.         $translation_table[TK_RESULT_TITLE_SVNADMIN_HELP] = 'svnadmin Hilfe';
  74.         $translation_table[TK_RESULT_TITLE_SVNVERSION_HELP] = 'svnversion Hilfe';
  75.         $translation_table[TK_RESULT_ERROR_CMD_NOT_EXEC] = 'SVN Kommando wurde nicht ausgeführt';
  76.         $translation_table[TK_RESULT_ERROR_NO_CMD] = 'Kommando fehlt';
  77.         $translation_table[TK_RESULT_ERROR_NO_SVN_CMD__CMD] = '%s<br/>ist kein bekanntes SVN Kommando<br/>und wurde daher nicht ausgeführt';
  78.         $translation_table[TK_RESULT_CMD_EXEC] = 'SVN Kommando ausgeführt';
  79.         $translation_table[TK_WEBSPACE_STATUS_LIST_HEADER] = '       Update   Revisionen Author       Verzeichnis oder Datei<br/>';
  80.         $translation_table[TK_CTRL_ERROR_NO_WEBSPACE] = 'Der Webspace ist nicht verfügbar. Bitte importieren Sie den Webspace.';
  81.         $translation_table[TK_CTRL_ERROR_CONFIG_NOT_FOUND] = 'SVN Web Control - Projektkonfiguration nicht gefunden';
  82.         $translation_table[TK_CTRL_GENERAL_ERROR] = 'Entweder <ul><li>wurde keine Konfiguration (SwcConfigFactory) angegeben,</li><li>fehlt die Funktion <b>GetSwcConfigFactory()</b> (zB Tippfehler) oder</li><li>./swc/config/std_config_factory.inc.php wurde nicht korrekt eingerichtet.</li></ol>';
  83.         $translation_table[TK_CTRL_ERROR_NO_CONFIG__PROJECTNAME] = 'Für Projekt "%s" wurde keine Konfiguration angegeben oder SVN Web Control wurde nicht korrekt konfiguriert.';
  84.         $translation_table[TK_CTRL_BY_SVN__VERSION] = 'controlled by Subversion %s';
  85.         $translation_table[TK_CTRL_ERROR_NO_CONFIG] = 'Fehler: Es wurde keine Projektkonfiguration angegeben';
  86.         $translation_table[TK_CTRL_TITLE_SELECT_PROJECT] = 'Bitte wählen Sie ein Projekt aus.';
  87.         $translation_table[TK_CTRL_TITLE_HEAD] = 'Aktuell';
  88.         $translation_table[TK_CTRL_TITLE_HEAD_SHORT] = 'Akt.:';
  89.         $translation_table[TK_CTRL_TITLE_REVISION] = 'Revision';
  90.         $translation_table[TK_CTRL_TITLE_REVISION_SHORT] = 'Rev.';
  91.         $translation_table[TK_CTRL_TITLE_WS] = 'Webspace';
  92.         $translation_table[TK_CTRL_TITLE_WS_SHORT] = 'Webspace:';
  93.         $translation_table[TK_CTRL_WARN_WS_OUTDATED] = 'Webspace ist veraltet!';
  94.         $translation_table[TK_CTRL_ACTION_UPDATE] = 'Aktualisieren';
  95.         $translation_table[TK_CTRL_ACTION_CHECKOUT] = 'Importieren';
  96.         $translation_table[TK_CTRL_LABEL_PROJECTS] = 'Projekte:';
  97.         $translation_table[TK_CTRL_ACTION_REFRESH] = 'SWC aktualisieren';
  98.         $translation_table[TK_CTRL_ACTION_SHOW_PROJECTPAGE] = 'Projektseite';
  99.         $translation_table[TK_CTRL_ACTION_SHOW_REPOSITORY] = 'Repository';
  100.         $translation_table[TK_CTRL_ACTION_SHOW_WEBSVN] = 'Web SVN';
  101.         $translation_table[TK_CTRL_ACTION_SHOW_WS_INFO] = 'Webspace Info';
  102.         $translation_table[TK_CTRL_ACTION_SHOW_WS_STATUS] = 'Webspace Status';
  103.         $translation_table[TK_CTRL_ACTION_SHOW_WS_LOG] = 'Webspace Log';
  104.         $translation_table[TK_CTRL_ACTION_SHOW_WS_CLEANUP] = 'Webspace Aufäumen';
  105.         $translation_table[TK_CTRL_ACTION_SHOW_ARCHIVE_PAGE] = 'Spaceballs';
  106.         $translation_table[TK_CTRL_LABEL_SVN_CMD] = 'SVN-Kommando';
  107.         $translation_table[TK_CTRL_ACTION_SVN_CMD] = 'ausführen!';
  108.         $translation_table[TK_CTRL_ACTION_SVN_HELP] = 'SVN Hilfe';
  109.         $translation_table[TK_CTRL_ACTION_SWITCH_TO_HEAD] = 'Auf aktuelle Revision (HEAD) schalten';
  110.         $translation_table[TK_CTRL_LABEL_SWITCH_TO_TAG] = 'Auf Tag';
  111.         $translation_table[TK_CTRL_LABEL_SWITCH_TO_BRANCH] = 'Auf Branch';
  112.         $translation_table[TK_CTRL_ACTION_SWITCH] = 'schalten';
  113.         $translation_table[TK_CTRL_ACTION_OPEN_PROJECTPAGE] = 'Projektseite<br/>separat öffnen';
  114.         $translation_table[TK_CTRL_LABEL_PIN_PROJECTPAGE] = 'Projektseite<br/>immer anzeigen';
  115.         $translation_table[TK_CTRL_LABEL_SEPARATE_RESULT_WINDOW] = 'Ergebnis in<br/>eigenem Fenster anzeigen';
  116.         $translation_table[TK_CTRL_LABEL_SHOW_SWITCHBAR] = 'Schaltleiste<br/>anzeigen';
  117.         $translation_table[TK_CTRL_LABEL_SHOW_CMDBAR] = 'Kommandoleiste<br/>anzeigen';
  118.         $translation_table[TK_CTRL_LABEL_FRAME_SIZE] = 'Framegröße auf';
  119.         $translation_table[TK_CTRL_LABEL_FRAME_WIDTH] = '';
  120.         $translation_table[TK_CTRL_LABEL_FRAME_HEIGHT] = 'x';
  121.         $translation_table[TK_CTRL_ACTION_SET_FRAME_SIZE] = 'setzen';
  122.         $translation_table[TK_CTRL_ACTION_MINIMIZE] = 'Kompakt';
  123.         $translation_table[TK_CTRL_ACTION_SWC_HELP] = 'Hilfe';
  124.         $translation_table[TK_CTRL_PAGE_TITLE] = 'SVN Web Control';
  125.         $translation_table[TK_CTRL_LABEL_CREATE_ARCHIVE] = 'Spacesball aus aktuellem Webspace in Datei';
  126.         $translation_table[TK_CTRL_ACTION_CREATE_ARCHIVE] = 'erzeugen';
  127.         $translation_table[TK_CTRL_LABEL_OVERWRITE_ARCHIVE] = 'Bestehenden Spaceball überschreiben';
  128.         $translation_table[TK_DETAILS_DEFAULT_TEXT] = 'Keine Aktion angegeben';
  129.         $translation_table[TK_DETAILS_LABEL_CMDLINE] = 'Kommandozeile';
  130.         $translation_table[TK_DETAILS_LABEL_RESULT_CODE] = 'Ergebnis';
  131.         $translation_table[TK_DETAILS_LABEL_OUTPUT] = 'Ausgabe';
  132.         $translation_table[TK_DETAILS_LABEL_ERROR] = 'Fehler';
  133.         $translation_table[TK_DETAILS_NO_ERROR] = 'Keine Fehler';
  134.         $translation_table[TK_INDEX_PAGE_TITLE] = 'SVN Web Control';
  135.         $translation_table[TK_ARCHIVE_PAGE_TITLE] = 'Spaceballs - Webspace Datei Archive';
  136.         $translation_table[TK_CTRL_ACTION_NO_PROJECT] = '- Projekt auswählen -';
  137.         $translation_table[TK_INDEX_PROJECT_FRAME_TITLE] = 'Projektseite';
  138.         $translation_table[TK_PATH_TO_SWC_HELP] = './inc/resources/de_swc_help.php';
  139.         $translation_table[TK_ERROR_ARCHIVE_DIR_IS_FILE_NOT_DIR__PATH] = 'Wurzelverzeichnis für Spaceballs &gt;%s&lt; ist kein Verzeichnis.<br/>Bitte prüfen Sie die Projektkonfiguration (GetArchiveDir()).';
  140.         $translation_table[TK_ERROR_ARCHIVE_DIR_NOT_EXIST__PATH] = 'Wurzelverzeichnis für Spaceballs &gt;%s&lt; ist nicht verfügbar.<br/>Bitte prüfen Sie die Projektkonfiguration (GetArchiveDir()) und Verzeichnisrechte.';
  141.         $translation_table[TK_RESULT_NO_SPACEBALLS] = 'Es sind keine Spaceballs verfügbar.';
  142.         $translation_table[TK_SB_LIST_LABEL_SPACEBALLS] = 'Spaceball';
  143.         $translation_table[TK_SB_LIST_LABEL_REVISION] = 'Revision';
  144.         $translation_table[TK_SB_LIST_LABEL_TIMESTAMP] = 'Erstellt am';
  145.         $translation_table[TK_SB_LIST_LABEL_FILESIZE] = 'Größe';
  146.         $translation_table[TK_ERROR_SPACEBALL_EXISTS] = 'Der Spaceball konnte nicht erzeugt werden da bereits ein Spaceball mit<br/>gleichem Namen besteht welcher nicht überschrieben werden kann.';
  147.         $translation_table[TK_ERROR_SPACEBALL_EXISTS_NO_OVERWRITE] = 'Spaceball konnte nicht erzeugt werden da bereits ein Spaceball<br/>mit gleichem Namen besteht und die "Überschreiben" Option nicht markiert wurde.';
  148.         $translation_table[TK_SB_MSG_SPACEBALL_CREATION_SUCCESSFULL__NAME] = 'Spaceball %s wurde erfolgreich erzeugt.';
  149.         $translation_table[TK_ERROR_SPACEBALL_EMPTY_WEBSPACE] = 'Webspace ist leer, der Spaceball wurde nicht erzeugt.';
  150.         $translation_table[TK_ERROR_SPACEBALL_GENERAL_ERROR] = 'Der Spaceball wurde nicht erzeugt.';
  151.     }
  152.     if (!isset($translation_table[$key])){
  153.         return '!!-de-Key-fehlt:'.$key;
  154.     }
  155.     return $translation_table[$key];
  156. }
  157.  
  158. /* 
  159.  * Returns a localised timestamp representation 
  160.  * for the given timestamp.
  161.  * @param int $timestamp A numerical PHP timestamp 
  162.  * (as e.g. provided by <b>strtotime()</b> command.
  163.  * @param boolean $short Whether or not (default) the timestamp
  164.  * should be returned in short or long format.
  165.  * @return string A localised timestamp string.
  166.  * 
  167.  * @since v1.0.0
  168.  */
  169. /** @ignore */
  170. function FormatTimestamp($timestamp, $short = false){
  171.     $ts = date('j. n. Y H:i', $timestamp);
  172.     if (!$short){
  173.         $ts .= ' (KW '.date('W', $timestamp).', '.date('z.', $timestamp).' TdJ)';
  174.     }
  175.     return $ts; 
  176. }
  177.  
  178. ?>

Documentation generated on Fri, 03 Nov 2006 18:44:57 +0100 by phpDocumentor 1.3.0RC6
for sTEFANs POWERED BY eBC.bz