fix installer translation

This commit is contained in:
amd64fox
2022-07-28 17:20:55 +03:00
parent 7345add4a1
commit 240fd91559
@@ -1,92 +1,94 @@
--- name: 🌐 Installer translation
name: 🌏 Installer translation description: Translate the installer into your language
about: Translate the installer into your language labels: 🌐 New translation
title: Translation for [Write here your translation language] body:
labels: 🌏 New translation - type: input
assignees: '' id: lang
attributes:
--- label: What language do you want to translate into?
placeholder: e.g. English
## 📝 Features translation validations:
required: true
Before you start translating, you need to know how your language is called in powershell, for this you need Windows with this default language, enter the following command in the powershell terminal : - type: input
id: langpowershell
```ps1 attributes:
$PSUICulture.Remove(2) label: Enter language name in PowerShell
``` description: Enter the following command in the PowerShell terminal <kbd>$PSUICulture.Remove(2)</kbd>, write the answer in the line below. For this to work, your Windows must be in this language.
placeholder: e.g. en
- Translation language powershell: *Enter here what you received in powershell* validations:
required: true
Then you can start translating lines, they start after the equal sign. - type: textarea
attributes:
It is important that you do not need to translate before the equal sign, these are variables. label: 📝 Translation strings
description: |
Also, if you come across characters {0}, {1} or file names, then just skip them. Now you can start translating strings, a few notes before you start:
- Translation strings start after an equals sign and are enclosed in quotation marks
Good luck to you. - There are variables before the equal sign, they do not need to be translated.
- Also, if you come across characters <kbd>{0}</kbd>, <kbd>{1}</kbd> or file names, then just skip them.
## 📝 Translation strings
Good luck to you.
```txt value: |
Author = "Author:" Author = "Author:"
Incorrect = "Oops, an incorrect value," Incorrect = "Oops, an incorrect value,"
Incorrect2 = "enter again through " Incorrect2 = "enter again through "
Download = "Error downloading" Download = "Error downloading"
Download2 = "Will re-request in 5 seconds..." Download2 = "Will re-request in 5 seconds..."
Download3 = "Error again" Download3 = "Error again"
Download4 = "Check your network settings and run the installation again" Download4 = "Check your network settings and run the installation again"
Download5 = "Downloading Spotify" Download5 = "Downloading Spotify"
Download6 = "Failed web request via curl" Download6 = "Failed web request via curl"
StopScrpit = "Script is stopped" StopScrpit = "Script is stopped"
MsSpoti = "The Microsoft Store version of Spotify has been detected which is not supported" MsSpoti = "The Microsoft Store version of Spotify has been detected which is not supported"
MsSpoti2 = "Uninstall Spotify Windows Store edition [Y/N]" MsSpoti2 = "Uninstall Spotify Windows Store edition [Y/N]"
MsSpoti3 = "Automatic uninstalling Spotify MS..." MsSpoti3 = "Automatic uninstalling Spotify MS..."
MsSpoti4 = "Uninstalling Spotify MS..." MsSpoti4 = "Uninstalling Spotify MS..."
Prem = "Modification for premium account..." Prem = "Modification for premium account..."
DownBts = "Downloading latest patch BTS..." DownBts = "Downloading latest patch BTS..."
OldV = "Found outdated version of Spotify" OldV = "Found outdated version of Spotify"
OldV2 = "Your Spotify {0} version is outdated, it is recommended to upgrade to {1}" OldV2 = "Your Spotify {0} version is outdated, it is recommended to upgrade to {1}"
OldV3 = "Want to update ? [Y/N]" OldV3 = "Want to update ? [Y/N]"
AutoUpd = "Automatic update to the recommended version" AutoUpd = "Automatic update to the recommended version"
DelOrOver = "Do you want to uninstall the current version of {0} or install over it? Y [Uninstall] / N [Install Over]" DelOrOver = "Do you want to uninstall the current version of {0} or install over it? Y [Uninstall] / N [Install Over]"
DelOld = "Uninstalling old Spotify..." DelOld = "Uninstalling old Spotify..."
NewV = "Unsupported version of Spotify found" NewV = "Unsupported version of Spotify found"
NewV2 = "Your Spotify {0} version hasn't been tested yet, currently it's a stable {1} version" NewV2 = "Your Spotify {0} version hasn't been tested yet, currently it's a stable {1} version"
NewV3 = "Do you want to continue with {0} version (errors possible) ? [Y/N]" NewV3 = "Do you want to continue with {0} version (errors possible) ? [Y/N]"
Recom = "Do you want to install the recommended {0} version ? [Y/N]" Recom = "Do you want to install the recommended {0} version ? [Y/N]"
DelNew = "Uninstalling an untested Spotify..." DelNew = "Uninstalling an untested Spotify..."
DownSpoti = "Downloading and installing Spotify" DownSpoti = "Downloading and installing Spotify"
DownSpoti2 = "Please wait..." DownSpoti2 = "Please wait..."
PodcatsOff = "Off Podcasts" PodcatsOff = "Off Podcasts"
PodcastsOn = "On Podcasts" PodcastsOn = "On Podcasts"
PodcatsSelect = "Do you want to disable podcasts from the main page? [Y/N]" PodcatsSelect = "Do you want to disable podcasts from the main page? [Y/N]"
DowngradeNote = "It is recommended to block because there was a downgrade of Spotify" DowngradeNote = "It is recommended to block because there was a downgrade of Spotify"
UpdBlock = "Spotify updates blocked" UpdBlock = "Spotify updates blocked"
UpdUnblock = "Spotify updates are not blocked" UpdUnblock = "Spotify updates are not blocked"
UpdSelect = "Want to block Spotify updates? [Y/N]" UpdSelect = "Want to block Spotify updates? [Y/N]"
CacheOn = "Clear cache enabled ({0})" CacheOn = "Clear cache enabled ({0})"
CacheOff = "Clearing the cache is not enabled" CacheOff = "Clearing the cache is not enabled"
CacheSelect = "Want to set up automatic cache cleanup? [Y/N]" CacheSelect = "Want to set up automatic cache cleanup? [Y/N]"
CacheDays = "Cache older: XX days to be cleared " CacheDays = "Cache older: XX days to be cleared "
CacheDays2 = "Enter the number of days from 1 to 100" CacheDays2 = "Enter the number of days from 1 to 100"
NoVariable = "Didn't find variable" NoVariable = "Didn't find variable"
NoVariable2 = "in xpui.js" NoVariable2 = "in xpui.js"
NoVariable3 = "in licenses.html" NoVariable3 = "in licenses.html"
NoVariable4 = "in html" NoVariable4 = "in html"
ModSpoti = "Patching Spotify..." ModSpoti = "Patching Spotify..."
Error = "Error" Error = "Error"
FileLocBroken = "Location of Spotify files is broken, uninstall the client and run the script again" FileLocBroken = "Location of Spotify files is broken, uninstall the client and run the script again"
Spicetify = "Spicetify detected" Spicetify = "Spicetify detected"
NoRestore = "SpotX has already been installed, xpui.js and xpui.css not found. `nPlease uninstall Spotify client and run Install.bat again" NoRestore = "SpotX has already been installed, xpui.js and xpui.css not found. `nPlease uninstall Spotify client and run Install.bat again"
ExpSpotify = "Experimental features operated by Spotify" ExpSpotify = "Experimental features operated by Spotify"
ExpStandart = "Experimental features of SpotX are not included" ExpStandart = "Experimental features of SpotX are not included"
NoRestore2 = "SpotX has already been installed, xpui.bak not found. `nPlease uninstall Spotify client and run Install.bat again" NoRestore2 = "SpotX has already been installed, xpui.bak not found. `nPlease uninstall Spotify client and run Install.bat again"
UpdateBlocked = "Spotify updates are already blocked" UpdateBlocked = "Spotify updates are already blocked"
UpdateError = "Failed to block updates" UpdateError = "Failed to block updates"
NoSpotifyExe = "Could not find Spotify.exe" NoSpotifyExe = "Could not find Spotify.exe"
InstallComplete = "installation completed" InstallComplete = "installation completed"
HostInfo = "Unwanted URLs found in hosts file" HostInfo = "Unwanted URLs found in hosts file"
HostBak = "Backing up hosts.bak..." HostBak = "Backing up hosts.bak..."
HostDel = "Trying to remove unwanted URLs from the original hosts file..." HostDel = "Trying to remove unwanted URLs from the original hosts file..."
HostError = "Something went wrong while editing the hosts file, edit it manually or run the script as administrator" HostError = "Something went wrong while editing the hosts file, edit it manually or run the script as administrator"
``` render: txt
validations:
required: true