fix installer translation

This commit is contained in:
amd64fox
2022-07-28 17:20:55 +03:00
parent 7345add4a1
commit 240fd91559
@@ -1,33 +1,33 @@
--- 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
validations:
required: true
- type: input
id: langpowershell
attributes:
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
validations:
required: true
- type: textarea
attributes:
label: 📝 Translation strings
description: |
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
- 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.
--- Good luck to you.
value: |
## 📝 Features translation
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 :
```ps1
$PSUICulture.Remove(2)
```
- Translation language powershell: *Enter here what you received in powershell*
Then you can start translating lines, they start after the equal sign.
It is important that you do not need to translate before the equal sign, these are variables.
Also, if you come across characters {0}, {1} or file names, then just skip them.
Good luck to you.
## 📝 Translation strings
```txt
Author = "Author:" Author = "Author:"
Incorrect = "Oops, an incorrect value," Incorrect = "Oops, an incorrect value,"
Incorrect2 = "enter again through " Incorrect2 = "enter again through "
@@ -89,4 +89,6 @@ Good luck to you.
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