mirror of
https://github.com/SpotX-Official/SpotX.git
synced 2026-06-14 03:16:33 +10:00
+10
-2
@@ -104,7 +104,7 @@ function Format-LanguageCode {
|
|||||||
|
|
||||||
begin {
|
begin {
|
||||||
$supportLanguages = @(
|
$supportLanguages = @(
|
||||||
'en', 'ru', 'it', 'tr', 'ka', 'pl', 'es', 'fr', 'hi', 'pt', 'id', 'vi', 'ro'
|
'en', 'ru', 'it', 'tr', 'ka', 'pl', 'es', 'fr', 'hi', 'pt', 'id', 'vi', 'ro', 'de'
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -163,6 +163,10 @@ function Format-LanguageCode {
|
|||||||
$returnCode = 'ro'
|
$returnCode = 'ro'
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
|
'^de' {
|
||||||
|
$returnCode = 'de'
|
||||||
|
break
|
||||||
|
}
|
||||||
Default {
|
Default {
|
||||||
$returnCode = $PSUICulture.Remove(2)
|
$returnCode = $PSUICulture.Remove(2)
|
||||||
break
|
break
|
||||||
@@ -253,6 +257,10 @@ function Set-ScriptLanguageStrings($LanguageCode) {
|
|||||||
$langStrings = CallLang -clg "ro"
|
$langStrings = CallLang -clg "ro"
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
|
'de' {
|
||||||
|
$langStrings = CallLang -clg "de"
|
||||||
|
break
|
||||||
|
}
|
||||||
Default {
|
Default {
|
||||||
# Default to English if unable to find a match.
|
# Default to English if unable to find a match.
|
||||||
$langStrings = CallLang -clg "en"
|
$langStrings = CallLang -clg "en"
|
||||||
@@ -273,7 +281,7 @@ $lang = Set-ScriptLanguageStrings -LanguageCode $langCode
|
|||||||
# Set variable 'ru'.
|
# Set variable 'ru'.
|
||||||
if ($langCode -eq 'ru') { $ru = $true }
|
if ($langCode -eq 'ru') { $ru = $true }
|
||||||
# Set variable 'add translation line'.
|
# Set variable 'add translation line'.
|
||||||
if ($langCode -match '^(it|tr|ka|pl|es|fr|hi|pt|id|vi|ro)') { $line = $true }
|
if ($langCode -match '^(it|tr|ka|pl|es|fr|hi|pt|id|vi|ro|de)') { $line = $true }
|
||||||
|
|
||||||
# Automatic length of stars
|
# Automatic length of stars
|
||||||
$au = ($lang).Author.Length + ($lang).Author2.Length
|
$au = ($lang).Author.Length + ($lang).Author2.Length
|
||||||
|
|||||||
@@ -0,0 +1,67 @@
|
|||||||
|
[PSCustomObject]@{
|
||||||
|
Author = "Patch Autor:"
|
||||||
|
Author2 = "@Amd64fox"
|
||||||
|
TranslationBy = "Übersetzung von:"
|
||||||
|
TranslationBy2 = "@Robin-728"
|
||||||
|
Incorrect = "Hoppla, ein falscher wert,"
|
||||||
|
Incorrect2 = "bitte geben sie einen neuen Wert ein in "
|
||||||
|
Download = "Fehler beim Download"
|
||||||
|
Download2 = "Werde in 5 Sekunden neu anfordern..."
|
||||||
|
Download3 = "Erneuter Fehler"
|
||||||
|
Download4 = "Uberprüfen sie ihre Netzwerkeinstellungen und starten sie die Installation erneut"
|
||||||
|
Download5 = "Lade Spotify herunter"
|
||||||
|
Download6 = "Curl Fehler"
|
||||||
|
StopScrpit = "Script wurde gestoppt"
|
||||||
|
MsSpoti = "Die Microsoft Store Version von Spotify wurde gefunden, jedoch ist sie nicht unterstützt"
|
||||||
|
MsSpoti2 = "Die Microsoft Store Version von Spotify deinstallieren? [Y/N]"
|
||||||
|
MsSpoti3 = "Deinstalliere die MS Version von Spotify automatisch..."
|
||||||
|
MsSpoti4 = "Deinstalliere die MS Version von Spotify..."
|
||||||
|
Prem = "Modifikation für Premium Accounts..."
|
||||||
|
OldV = "Veraltete Version von Spotify wurde gefunden"
|
||||||
|
OldV2 = "Ihre Spotify {0} Version ist veraltet, es ist empfohlen Spotify auf {1} zu aktualisieren"
|
||||||
|
OldV3 = "Möchten sie Spotify aktualisieren? [Y/N]"
|
||||||
|
AutoUpd = "Automatisches aktualisieren zur empfohlenen Version"
|
||||||
|
DelOrOver = "Möchten sie die bestehenden Version von Spotify {0} deinstallieren oder möchten sie es darüber installieren? Y [Deinstallieren] / N [Darüber installieren]"
|
||||||
|
DelOld = "Deinstalliere das alte Spotify"
|
||||||
|
NewV = "Nicht unterstützte Spotify Version gefunden"
|
||||||
|
NewV2 = "Ihre Spotify {0} Version wurde noch nicht getestet, im Moment ist {1} die Stabile Version"
|
||||||
|
NewV3 = "Mochten sie mit der {0} Version fortfahren? (Fehler können auftreten) [Y/N]"
|
||||||
|
Recom = "Möchten sie die empfohlene Version von Spotify installieren? [Y/N]"
|
||||||
|
DelNew = "Deinstalliere eine ungetestete Version von Spotify..."
|
||||||
|
DownSpoti = "Installiere Spotify"
|
||||||
|
DownSpoti2 = "Bitte warten..."
|
||||||
|
PodcatsOff = "Podcasts Aus"
|
||||||
|
PodcastsOn = "Podcasts An"
|
||||||
|
PodcatsSelect = "Möchten Sie Podcasts, Episoden und Hörbücher auf der Hauptseite deaktivieren? [Y/N]"
|
||||||
|
DowngradeNote = "Es wird empfohlen Updates zu blockieren, da Spotify herabgestuft wurde"
|
||||||
|
UpdBlock = "Spotify Updates blockiert"
|
||||||
|
UpdUnblock = "Spotify Updates sind nicht blockiert"
|
||||||
|
UpdSelect = "Möchten sie Spotify Updates blockieren?"
|
||||||
|
CacheOn = "Cache wird geleert ({0})"
|
||||||
|
CacheOff = "Die Cache wird nicht geleert"
|
||||||
|
CacheSelect = "Möchten sie die automatische Cache-Bereinigung aktivieren? [Y/N]"
|
||||||
|
CacheDays = "Cache die älter als XX Tage sind werden bereinigt "
|
||||||
|
CacheDays2 = "Geben Sie die Anzahl der Tage von 1 bis 100 ein"
|
||||||
|
NoVariable = "Keine Variabel gefunden"
|
||||||
|
NoVariable2 = "in xpui.js"
|
||||||
|
NoVariable3 = "in licenses.html"
|
||||||
|
NoVariable4 = "in html"
|
||||||
|
NoVariable5 = "in home-v2.js"
|
||||||
|
NoVariable6 = "in xpui-desktop-modals.js"
|
||||||
|
ModSpoti = "Patche Spotify..."
|
||||||
|
Error = "Fehler"
|
||||||
|
FileLocBroken = "Speicherort von Spotify ist falsch, deinstalliere Spotify und starte die Installation neu"
|
||||||
|
Spicetify = "Spicetify gefunden"
|
||||||
|
NoRestore = "SpotX wurde schon installiert, aber Dateien zum Wiederherstellen von xpui.js.bak und xpui.css.bak konnten nicht gefunden werden. `nBitte deinstalliere Spotify und starte Install.bat nochmal"
|
||||||
|
ExpSpotify = "Experimentelle Funktionen, die von Spotify betrieben werden"
|
||||||
|
ExpStandart = "Experimentelle Funktionen von SpotX sind nicht enthalten"
|
||||||
|
NoRestore2 = "SpotX wurde schon installiert, xpui.bak wurde aber nicht gefunden. `nBitte deinstalliere Spotify und starte Install.bat nochmal"
|
||||||
|
UpdateBlocked = "Spotify Updates sind schon blockiert"
|
||||||
|
UpdateError = "Updates konnten nicht blockiert werden"
|
||||||
|
NoSpotifyExe = "Konnte nicht Spotify.exe finden"
|
||||||
|
InstallComplete = "Installation ist fertig"
|
||||||
|
HostInfo = "Unerwünschte URLs in der hosts Datei gefunden"
|
||||||
|
HostBak = "hosts.bak wird gesichert..."
|
||||||
|
HostDel = "Versuche unerwünschte URLs von der originalen hosts Datei zu entfernen..."
|
||||||
|
HostError = "Beim Bearbeiten der hosts Datei ist etwas schief gelaufen, bearbeite es manuell oder führen sie die Installation als Administrator aus"
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user