mirror of
https://github.com/SpotX-Official/SpotX.git
synced 2026-06-21 14:40:55 +10:00
fix installer translation
This commit is contained in:
@@ -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
|
||||||
## 📝 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
|
||||||
|
- 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.
|
Good luck to you.
|
||||||
|
value: |
|
||||||
## 📝 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
|
||||||
|
|||||||
Reference in New Issue
Block a user