added german local

This commit is contained in:
Jannik 2017-12-19 22:18:22 +01:00
parent 34bed89b40
commit c73d02c433
6 changed files with 109 additions and 70 deletions

8
log.txt Normal file
View File

@ -0,0 +1,8 @@
[21:08:03] mlc01 path is set to: Z:\home\jannik\Downloads\cemu_1.10.0\mlc01\
[21:08:03] Using AES-NI for filesystem decryption
[21:08:06] RDTSC measurement test:
[21:08:06] TSC-diff: 0x0000000274783686
[21:08:06] TSC-freq: 0x00000000d0dadcff
[21:08:06] HPC-diff: 0x0000000001cb27c1
[21:08:06] HPC-freq: 0x0000000000989680
[21:08:06] Multiplier: 0x000000000000015e

View File

@ -287,7 +287,7 @@ public class MainWindowController {
private String selectedGameTitle; private String selectedGameTitle;
private String id; private String id;
private String version = "0.2.2"; private String version = "0.2.2";
private String buildNumber = "069"; private String buildNumber = "071";
private String versionName = "Puzzle Plank Galaxy"; private String versionName = "Puzzle Plank Galaxy";
private int xPos = -200; private int xPos = -200;
private int yPos = 17; private int yPos = 17;
@ -349,6 +349,7 @@ public class MainWindowController {
private String addDLCBodyText; private String addDLCBodyText;
private String licensesLblHeadingText; private String licensesLblHeadingText;
private String licensesLblBodyText; private String licensesLblBodyText;
private String showLicenses;
private String aboutBtnHeadingText; private String aboutBtnHeadingText;
private String aboutBtnBodyText; private String aboutBtnBodyText;
private String cloudSyncWaringHeadingText; private String cloudSyncWaringHeadingText;
@ -362,6 +363,7 @@ public class MainWindowController {
private String lastPlayed; private String lastPlayed;
private String today; private String today;
private String yesterday; private String yesterday;
private String never;
private String playBtnPlay; private String playBtnPlay;
private String playBtnUpdating; private String playBtnUpdating;
@ -793,7 +795,7 @@ public class MainWindowController {
JFXOkayCancelDialog licenseOverviewDialog = new JFXOkayCancelDialog(licensesLblHeadingText, JFXOkayCancelDialog licenseOverviewDialog = new JFXOkayCancelDialog(licensesLblHeadingText,
licensesLblBodyText, dialogBtnStyle, 350, 275, okayAction, cancelAction, main.getPane(), licensesLblBodyText, dialogBtnStyle, 350, 275, okayAction, cancelAction, main.getPane(),
bundle); bundle);
licenseOverviewDialog.setCancelText("show licenses"); licenseOverviewDialog.setCancelText(showLicenses);
licenseOverviewDialog.show(); licenseOverviewDialog.show();
} }
} }
@ -1240,7 +1242,7 @@ public class MainWindowController {
// setting last played, if lastPlayed is empty game was never played before, else set correct date // setting last played, if lastPlayed is empty game was never played before, else set correct date
if (dbController.getLastPlayed(titleID).equals("") || dbController.getLastPlayed(titleID).equals(null)) { if (dbController.getLastPlayed(titleID).equals("") || dbController.getLastPlayed(titleID).equals(null)) {
lastTimePlayedBtn.setText("Last played, never"); lastTimePlayedBtn.setText(lastPlayed + never);
totalPlaytimeBtn.setText(dbController.getTotalPlaytime(titleID) + " min"); totalPlaytimeBtn.setText(dbController.getTotalPlaytime(titleID) + " min");
} else { } else {
DateTimeFormatter dtf = DateTimeFormatter.ofPattern("yyyy-MM-dd"); DateTimeFormatter dtf = DateTimeFormatter.ofPattern("yyyy-MM-dd");
@ -1344,6 +1346,8 @@ public class MainWindowController {
updateBtn.setText(bundle.getString("updateBtnCheckNow")); updateBtn.setText(bundle.getString("updateBtnCheckNow"));
smmdbDownloadBtn.setText(bundle.getString("smmdbDownloadBtn")); smmdbDownloadBtn.setText(bundle.getString("smmdbDownloadBtn"));
playBtn.setText(bundle.getString("playBtn")); playBtn.setText(bundle.getString("playBtn"));
cloudSyncToggleBtn.setText(bundle.getString("cloudSyncToggleBtn"));
autoUpdateToggleBtn.setText(bundle.getString("autoUpdateToggleBtn"));
// Labels // Labels
cemu_UISettingsLbl.setText(bundle.getString("cemu_UISettingsLbl")); cemu_UISettingsLbl.setText(bundle.getString("cemu_UISettingsLbl"));
@ -1373,6 +1377,7 @@ public class MainWindowController {
addDLCBodyText = bundle.getString("addDLCBodyText"); addDLCBodyText = bundle.getString("addDLCBodyText");
licensesLblHeadingText = bundle.getString("licensesLblHeadingText"); licensesLblHeadingText = bundle.getString("licensesLblHeadingText");
licensesLblBodyText = bundle.getString("licensesLblBodyText"); licensesLblBodyText = bundle.getString("licensesLblBodyText");
showLicenses = bundle.getString("showLicenses");
aboutBtnHeadingText = bundle.getString("aboutBtnHeadingText"); aboutBtnHeadingText = bundle.getString("aboutBtnHeadingText");
aboutBtnBodyText = bundle.getString("aboutBtnBodyText"); aboutBtnBodyText = bundle.getString("aboutBtnBodyText");
cloudSyncWaringHeadingText = bundle.getString("cloudSyncWaringHeadingText"); cloudSyncWaringHeadingText = bundle.getString("cloudSyncWaringHeadingText");
@ -1386,6 +1391,7 @@ public class MainWindowController {
lastPlayed = bundle.getString("lastPlayed"); lastPlayed = bundle.getString("lastPlayed");
today = bundle.getString("today"); today = bundle.getString("today");
yesterday = bundle.getString("yesterday"); yesterday = bundle.getString("yesterday");
never = bundle.getString("never");
playBtnPlay = bundle.getString("playBtnPlay"); playBtnPlay = bundle.getString("playBtnPlay");
playBtnUpdating = bundle.getString("playBtnUpdating"); playBtnUpdating = bundle.getString("playBtnUpdating");

View File

@ -47,7 +47,6 @@ public class JFXOkayCancelDialog {
private EventHandler<ActionEvent> okayAction; private EventHandler<ActionEvent> okayAction;
private EventHandler<ActionEvent> cancelAction; private EventHandler<ActionEvent> cancelAction;
private Pane pane; private Pane pane;
private ResourceBundle bundle;
/** /**
* Creates a new JFoenix Dialog to show some information with okay and cancel option * Creates a new JFoenix Dialog to show some information with okay and cancel option
@ -71,12 +70,11 @@ public class JFXOkayCancelDialog {
this.okayAction = okayAction; this.okayAction = okayAction;
this.cancelAction = cancelAction; this.cancelAction = cancelAction;
this.pane = pane; this.pane = pane;
this.bundle = bundle; okayText = bundle.getString("okayBtnText");
cancelText = bundle.getString("cancelBtnText");
} }
public void show() { public void show() {
okayText = bundle.getString("okayBtnText");
cancelText = bundle.getString("cancelBtnText");
JFXDialogLayout content = new JFXDialogLayout(); JFXDialogLayout content = new JFXDialogLayout();
content.setHeading(new Text(headingText)); content.setHeading(new Text(headingText));

View File

@ -213,14 +213,14 @@
</AnchorPane> </AnchorPane>
<HBox fx:id="bottomHBox" alignment="CENTER" layoutX="326.0" layoutY="602.0" prefHeight="48.0" prefWidth="200.0" spacing="10.0" visible="false" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0"> <HBox fx:id="bottomHBox" alignment="CENTER" layoutX="326.0" layoutY="602.0" prefHeight="48.0" prefWidth="200.0" spacing="10.0" visible="false" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0">
<children> <children>
<JFXButton fx:id="totalPlaytimeBtn" buttonType="RAISED" maxHeight="32.0" maxWidth="125.0" minWidth="125.0" onAction="#totalPlaytimeBtnAction" prefHeight="32.0" prefWidth="125.0" style="-fx-background-color: #ffffff; -fx-button-type: RAISED; -fx-text-fill: BLACK;" text="0 h 0 min"> <JFXButton fx:id="totalPlaytimeBtn" buttonType="RAISED" maxHeight="32.0" maxWidth="150.0" minWidth="125.0" onAction="#totalPlaytimeBtnAction" prefHeight="32.0" style="-fx-background-color: #ffffff; -fx-button-type: RAISED; -fx-text-fill: BLACK;" text="0 h 0 min">
</JFXButton> </JFXButton>
<JFXButton fx:id="playBtn" buttonType="RAISED" maxHeight="28.0" minWidth="100.0" onAction="#playBtnAction" ripplerFill="#00aacc" text="play" textAlignment="CENTER"> <JFXButton fx:id="playBtn" buttonType="RAISED" maxHeight="28.0" minWidth="100.0" onAction="#playBtnAction" ripplerFill="#00aacc" text="play" textAlignment="CENTER">
<font> <font>
<Font name="System Bold" size="14.0" /> <Font name="System Bold" size="14.0" />
</font> </font>
</JFXButton> </JFXButton>
<JFXButton fx:id="lastTimePlayedBtn" buttonType="RAISED" maxHeight="32.0" maxWidth="125.0" minWidth="125.0" onAction="#lastTimePlayedBtnAction" prefHeight="32.0" prefWidth="125.0" style="-fx-background-color: #ffffff; -fx-button-type: RAISED; -fx-text-fill: BLACK;" text="Last played, never" /> <JFXButton fx:id="lastTimePlayedBtn" buttonType="RAISED" maxHeight="32.0" maxWidth="150.0" minWidth="125.0" onAction="#lastTimePlayedBtnAction" prefHeight="32.0" style="-fx-background-color: #ffffff; -fx-button-type: RAISED; -fx-text-fill: BLACK;" text="Last played, never" />
</children> </children>
</HBox> </HBox>
</children> </children>

View File

@ -1,63 +1,86 @@
#HomeFlix-Local_de_DE.properties German Local #HomeFlix-Local_de_DE.properties geramn Local
#main window translations # Buttons
info = Info aboutBtn = \u00dcber
settings = Einstellungen settingsBtn = Einstellungen
streamingSettings = Stream Einst. addBtn = Spiel hinzuf\u00fcgen
tfSearch = Suche... reloadRomsBtn = ROMs neu laden
openFolder = Ordner \u00F6ffnen smmdbBtn = smmdb
cemuTFBtn = Ordner \u00F6ffnen
romTFBtn = Ordner \u00F6ffnen
smmdbDownloadBtn = Download
playBtn = spielen
cloudSyncToggleBtn = Spielst\u00e4nde \u00fcber die Cloud syncronisieren (Google Drive)
autoUpdateToggleBtn = beim Start nach Updates suchen
#settings translations # Labels
settingsHead1Label = HomeFlix Einstellungen cemu_UISettingsLbl = cemu_UI Einstellungen
tfPath = Pfad... cemuDirectoryLbl = cemu directory
chooseFolder = Ordner ausw\u00E4hlen romDirectoryLbl = ROM directory
mainColorLabel = Hauptfarbe: mainColorLbl = Hauptfarbe
fontsizeLabel = Schriftgr\u00F6\u00DFe: languageLbl = Sprache
localLabel = Sprache: updateLbl = updates
checkUpdates = Auf Update pr\u00FCfen branchLbl = Updatezweig
checkingUpdates = Es wird nach Updates gesucht... cemuSettingsLbl = cemu Einstellungen
updateBtnavail = Update verf\u00FCgbar licensesLbl = Lizenzen
updateBtnNotavail = Kein Update verf\u00FCgbar
autoUpdateLabel = beim Start nach Updates suchen:
version = Version:
#column translations # Columns
columnName = Name titleColumn = Titel
columnRating = Bewertung idColumn = ID
columnStreamUrl = Datei Name starsColumn = Sterne
columnResolution = Aufl\u00F6sung timeColumn = Zeit
columnSeason = Staffel
columnYear = Jahr
#error translations # Strings
errorUpdateV = Beim ausf\u00FChren des Updates ist ein Fehler aufgetreten! \nError: could not check update version (nvc)\nWeitere Hilfe erhalten sie unter www.kellerkinder.xyz \noder wenden sie sich an support@kellerkinder.xyz editHeadingText = bearbeiten
errorUpdateD = Beim ausf\u00FChren des Updates ist ein Fehler aufgetreten! \nError: could not download update files (ndf)\nWeitere Hilfe erhalten sie unter www.kellerkinder.xyz \noder wenden sie sich an support@kellerkinder.xyz editBodyText = Du kannst den Title und den ROM-/Coverpfad bearbeiten.
errorPlay = Beim \u00F6ffnen der Datei ist ein Fehler aufgetreten! \nError: could not open file (nof) \nWeitere Hilfe erhalten sie unter www.kellerkinder.xyz \noder wenden sie sich an support@kellerkinder.xyz removeHeadingText = löschen
errorMode = Oh, da lief etwas falsch! Da hat jemand einen falschen Modus verwendet. \nError: mode unknow (muk)\nWeitere Hilfe erhalten sie unter www.kellerkinder.xyz \noder wenden sie sich an support@kellerkinder.xyz removeBodyText = Bist du sicher dass du flgendes Spiel l\u00f6schen m\u00f6chtest
errorOpenStream = Beim \u00F6ffnen des Streams ist ein Fehler aufgetreten! addUpdateHeadingText = update
errorLoad = Beim laden der Einstellungen ist ein Fehler aufgetreten! addUpdateBodyText = Bitte w\u00e4hle das Update-Verzeichniss aus.
errorSave = Beim speichern der Einstellungen ist ein Fehler aufgetreten! addDLCHeadingText = ein DLC hinzufügen
noFilmFound = Kein Film mit diesem Titel gefunden! addDLCBodyText = Bitte w\u00e4hle das DLC-Verzeichniss aus.
vlcNotInstalled = Um einen Film abspielen wird der VLC Media Player ben\u00F6tigt!
infoText = \nMaintainer: seilo@kellerkinder.xyz und \nhendrik.schutter@coptersicht.de \n(c) 2016-2017 Kellerkinder www.kellerkinder.xyz
#textFlow translations licensesLblHeadingText = cemu_UI
title = Titel licensesLblBodyText = cemu_UI ist lizensiert unter der GNU GPL 3.\n\nJFoenix, Apache License 2.0\nminimal-json, MIT License\nsqlite-jdbc, Apache License 2.0\nApache Commons IO, Apache License 2.0\nApache Commons Logging, Apache License 2.0\nApache Commons Codec, Apache License 2.0\nApache Log4j 2, Apache License 2.0\n
year = Jahr showLicenses = Lizenzen \u00f6ffnen
rating = Einstufung
publishedOn = Ver\u00F6ffentlicht am
duration = Laufzeit
genre = Gener
director = Regisseur
writer = Autor
actors = Schauspieler
plot = Beschreibung
language = Original Sprache
country = Produktionsland
awards = Auszeichnungen
metascore = Metascore
imdbRating = IMDB-Bewertung
type = Type
firstStartHeader = Es ist kein Stammverzeichnis f\u00FCr Filme angegeben! aboutBtnHeadingText = cemu_UI
firstStartContent = Stammverzeichniss angeben? aboutBtnBodyText = Diese Programm wurde mit freier Software erstellt\nund ist lizensiert unter der GNU GPL 3.\n\nwww.kellerkinder.xyz
cloudSyncWaringHeadingText = Spielst\u00e4nde über die Cloud syncronisieren (beta)
cloudSyncWaringBodyText = WARNING this is a completly WIP cloud save integration,\nit's NOT recomended to use this!!\n\nUse it on your own risk and backup everthing before!
cloudSyncErrorHeadingText = Fehler beim initialisieren der Cloud-Verbindung!
cloudSyncErrorBodyText = Fehler beim initialisieren der Cloud-Verbindung.\nBitte lade die app.log (welceh du im cemu_UI Verzeichniss findest)\nauf \"https://github.com/Seil0/cemu_UI/issues\" hoch.
addGameBtnHeadingText = eine neues Spiel zu cemu_Ui hinzuf\u00fcgen
addGameBtnBodyText =
addBtnReturnErrorHeadingText = Fehler beim hinzuf\u00fcgen des Spiels!
addBtnReturnErrorBodyText = Fehler beim hinzuf\u00fcgen des Spiels.\nEiner der benötigten Werte war leer, bitte versuche es erneut.
lastPlayed = zuletzt gespielt,
today = heute
yesterday = gestern
never = nie
# button strings
playBtnPlay = spieles
playBtnUpdating = updating...
playBtnCopyingFiles = kopiere Dateien...
smmdbDownloadBtnLoading = laden
smmdbDownloadBtnDownload = Download
okayBtnText = okay
cancelBtnText = abbruch
updateBtnCheckNow = Auf Update pr\u00FCfen
updateBtnChecking = Es wird nach Updates gesucht...
updateBtnNoUpdateAvailable = Kein Update verf\u00FCgbar
updateBtnUpdateAvailable = Update verf\u00FCgbar
#EditGameDialog
gameTitle = Spiel Titel
titleID = Titel ID
romPath = ROM Pfad
coverPath = Cover-Pfad
editGameDialogHeadingTextError = Fehler beim hinzuf\u00fcgen des Spiels!
editGameDialogBodyTextError = Fehler beim hinzuf\u00fcgen des Spiels.\nEiner der benötigten Werte war leer, bitte versuche es erneut.
editGameDialogSelectPathBtn = .rpx Datei ausw\u00E4hlen
editGameDialogSelectCoverBtn = cover Datei ausw\u00E4hlen

View File

@ -5,11 +5,13 @@ aboutBtn = About
settingsBtn = Setting settingsBtn = Setting
addBtn = Add new Game addBtn = Add new Game
reloadRomsBtn = reload ROMs reloadRomsBtn = reload ROMs
smmdbBtn = ammdb smmdbBtn = smmdb
cemuTFBtn = choose directory cemuTFBtn = choose directory
romTFBtn = choose directory romTFBtn = choose directory
smmdbDownloadBtn = smmdbDownloadBtn = Download
playBtn = playBtn = play
cloudSyncToggleBtn = cloud savegames (Google Drive)
autoUpdateToggleBtn = check for updates on startup
# Labels # Labels
cemu_UISettingsLbl = cemu_UI Settings cemu_UISettingsLbl = cemu_UI Settings
@ -40,6 +42,7 @@ addDLCBodyText = Please select the DLC root directory.
licensesLblHeadingText = cemu_UI licensesLblHeadingText = cemu_UI
licensesLblBodyText = cemu_UI is licensed under the terms of GNU GPL 3.\n\nJFoenix, Apache License 2.0\nminimal-json, MIT License\nsqlite-jdbc, Apache License 2.0\nApache Commons IO, Apache License 2.0\nApache Commons Logging, Apache License 2.0\nApache Commons Codec, Apache License 2.0\nApache Log4j 2, Apache License 2.0\n licensesLblBodyText = cemu_UI is licensed under the terms of GNU GPL 3.\n\nJFoenix, Apache License 2.0\nminimal-json, MIT License\nsqlite-jdbc, Apache License 2.0\nApache Commons IO, Apache License 2.0\nApache Commons Logging, Apache License 2.0\nApache Commons Codec, Apache License 2.0\nApache Log4j 2, Apache License 2.0\n
showLicenses = show licenses
aboutBtnHeadingText = cemu_UI aboutBtnHeadingText = cemu_UI
aboutBtnBodyText = This Application is made with free Software\nand licensed under the terms of GNU GPL 3.\n\nwww.kellerkinder.xyz aboutBtnBodyText = This Application is made with free Software\nand licensed under the terms of GNU GPL 3.\n\nwww.kellerkinder.xyz
@ -48,7 +51,7 @@ cloudSyncWaringHeadingText = activate cloud savegame sync (beta)
cloudSyncWaringBodyText = WARNING this is a completly WIP cloud save integration,\nit's NOT recomended to use this!!\n\nUse it on your own risk and backup everthing before! cloudSyncWaringBodyText = WARNING this is a completly WIP cloud save integration,\nit's NOT recomended to use this!!\n\nUse it on your own risk and backup everthing before!
cloudSyncErrorHeadingText = Error while initializing cloud sync! cloudSyncErrorHeadingText = Error while initializing cloud sync!
cloudSyncErrorBodyText = There was some truble adding your game.\nPlease upload the app.log (which can be found in the cemu_UI directory)\nto \"https://github.com/Seil0/cemu_UI/issues\" so we can fix this. cloudSyncErrorBodyText = There was some truble while initializing cloud sync.\nPlease upload the app.log (which can be found in the cemu_UI directory)\nto \"https://github.com/Seil0/cemu_UI/issues\" so we can fix this.
addGameBtnHeadingText = add a new game to cemu_UI addGameBtnHeadingText = add a new game to cemu_UI
addGameBtnBodyText = addGameBtnBodyText =
@ -57,6 +60,7 @@ addBtnReturnErrorBodyText = There was some truble adding your game.\nOne of the
lastPlayed = Last played, lastPlayed = Last played,
today = today today = today
yesterday = yesterday yesterday = yesterday
never = never
# button strings # button strings
playBtnPlay = play playBtnPlay = play