Fix multiple typos, closes #627
parent
1ebfafd8de
commit
b5a2e77db4
@ -1,161 +1,154 @@
|
|||||||
#ingame_HUD_ShapeViewer {
|
#ingame_HUD_ShapeViewer {
|
||||||
$dims: 170px;
|
$dims: 170px;
|
||||||
|
|
||||||
.content {
|
.content {
|
||||||
display: flex;
|
display: flex;
|
||||||
@include S(width, $dims);
|
@include S(width, $dims);
|
||||||
width: 100%;
|
width: 100%;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
overflow-x: hidden;
|
overflow-x: hidden;
|
||||||
|
|
||||||
&[data-layers="3"],
|
&[data-layers="3"],
|
||||||
&[data-layers="4"] {
|
&[data-layers="4"] {
|
||||||
@include S(width, 2 * $dims);
|
@include S(width, 2 * $dims);
|
||||||
.renderArea {
|
.renderArea {
|
||||||
display: grid;
|
display: grid;
|
||||||
grid-template-columns: 1fr 1fr;
|
grid-template-columns: 1fr 1fr;
|
||||||
@include S(grid-row-gap, 15px);
|
@include S(grid-row-gap, 15px);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.renderArea {
|
.renderArea {
|
||||||
display: grid;
|
display: grid;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
@include S(grid-row-gap, 10px);
|
@include S(grid-row-gap, 10px);
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-items: center;
|
justify-items: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
.infoArea {
|
.infoArea {
|
||||||
align-self: flex-end;
|
align-self: flex-end;
|
||||||
@include S(margin-top, 10px);
|
@include S(margin-top, 10px);
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
|
|
||||||
button {
|
button {
|
||||||
@include S(margin, 0);
|
@include S(margin, 0);
|
||||||
@include PlainText;
|
@include PlainText;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.seperator {
|
.layer {
|
||||||
display: flex;
|
position: relative;
|
||||||
align-items: center;
|
background: #eee;
|
||||||
justify-content: center;
|
|
||||||
width: 100%;
|
@include DarkThemeOverride {
|
||||||
}
|
background: rgba(0, 10, 20, 0.2);
|
||||||
|
}
|
||||||
.layer {
|
@include S(width, 150px);
|
||||||
position: relative;
|
@include S(height, 100px);
|
||||||
background: #eee;
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
@include DarkThemeOverride {
|
justify-content: center;
|
||||||
background: rgba(0, 10, 20, 0.2);
|
|
||||||
}
|
> canvas {
|
||||||
@include S(width, 150px);
|
@include S(width, 50px);
|
||||||
@include S(height, 100px);
|
@include S(height, 50px);
|
||||||
display: flex;
|
}
|
||||||
align-items: center;
|
|
||||||
justify-content: center;
|
.quad {
|
||||||
|
position: absolute;
|
||||||
> canvas {
|
width: 50%;
|
||||||
@include S(width, 50px);
|
height: 50%;
|
||||||
@include S(height, 50px);
|
display: flex;
|
||||||
}
|
justify-content: center;
|
||||||
|
align-items: center;
|
||||||
.quad {
|
box-sizing: border-box;
|
||||||
position: absolute;
|
|
||||||
width: 50%;
|
$arrowDims: 23px;
|
||||||
height: 50%;
|
$spacing: 9px;
|
||||||
display: flex;
|
@include S(padding, 6px);
|
||||||
justify-content: center;
|
|
||||||
align-items: center;
|
.colorLabel {
|
||||||
box-sizing: border-box;
|
text-transform: uppercase;
|
||||||
|
@include SuperSmallText;
|
||||||
$arrowDims: 23px;
|
@include S(font-size, 9px);
|
||||||
$spacing: 9px;
|
}
|
||||||
@include S(padding, 6px);
|
|
||||||
|
.emptyLabel {
|
||||||
.colorLabel {
|
text-transform: uppercase;
|
||||||
text-transform: uppercase;
|
@include SuperSmallText;
|
||||||
@include SuperSmallText;
|
@include S(font-size, 9px);
|
||||||
@include S(font-size, 9px);
|
}
|
||||||
}
|
|
||||||
|
&::after {
|
||||||
.emptyLabel {
|
content: " ";
|
||||||
text-transform: uppercase;
|
background: rgba(0, 10, 20, 0.5);
|
||||||
@include SuperSmallText;
|
@include S(width, $arrowDims);
|
||||||
@include S(font-size, 9px);
|
@include S(height, 1px);
|
||||||
}
|
position: absolute;
|
||||||
|
transform: rotate(45deg);
|
||||||
&::after {
|
transform-origin: 50% 50%;
|
||||||
content: " ";
|
}
|
||||||
background: rgba(0, 10, 20, 0.5);
|
@include DarkThemeOverride {
|
||||||
@include S(width, $arrowDims);
|
&::after {
|
||||||
@include S(height, 1px);
|
background: rgba(255, 255, 255, 0.5);
|
||||||
position: absolute;
|
}
|
||||||
transform: rotate(45deg);
|
}
|
||||||
transform-origin: 50% 50%;
|
|
||||||
}
|
&.quad-0 {
|
||||||
@include DarkThemeOverride {
|
right: 0;
|
||||||
&::after {
|
top: 0;
|
||||||
background: rgba(255, 255, 255, 0.5);
|
align-items: flex-start;
|
||||||
}
|
justify-content: flex-end;
|
||||||
}
|
|
||||||
|
&::after {
|
||||||
&.quad-0 {
|
@include S(left, $spacing);
|
||||||
right: 0;
|
@include S(bottom, $arrowDims / 2 + $spacing);
|
||||||
top: 0;
|
transform: rotate(-45deg);
|
||||||
align-items: flex-start;
|
}
|
||||||
justify-content: flex-end;
|
}
|
||||||
|
&.quad-1 {
|
||||||
&::after {
|
bottom: 0;
|
||||||
@include S(left, $spacing);
|
right: 0;
|
||||||
@include S(bottom, $arrowDims / 2 + $spacing);
|
|
||||||
transform: rotate(-45deg);
|
align-items: flex-end;
|
||||||
}
|
justify-content: flex-end;
|
||||||
}
|
|
||||||
&.quad-1 {
|
&::after {
|
||||||
bottom: 0;
|
@include S(left, $spacing);
|
||||||
right: 0;
|
@include S(top, $arrowDims / 2 + $spacing);
|
||||||
|
transform: rotate(45deg);
|
||||||
align-items: flex-end;
|
}
|
||||||
justify-content: flex-end;
|
}
|
||||||
|
&.quad-2 {
|
||||||
&::after {
|
bottom: 0;
|
||||||
@include S(left, $spacing);
|
left: 0;
|
||||||
@include S(top, $arrowDims / 2 + $spacing);
|
|
||||||
transform: rotate(45deg);
|
align-items: flex-end;
|
||||||
}
|
justify-content: flex-start;
|
||||||
}
|
|
||||||
&.quad-2 {
|
&::after {
|
||||||
bottom: 0;
|
@include S(right, $spacing);
|
||||||
left: 0;
|
@include S(top, $arrowDims / 2 + $spacing);
|
||||||
|
transform: rotate(135deg);
|
||||||
align-items: flex-end;
|
}
|
||||||
justify-content: flex-start;
|
}
|
||||||
|
&.quad-3 {
|
||||||
&::after {
|
top: 0;
|
||||||
@include S(right, $spacing);
|
left: 0;
|
||||||
@include S(top, $arrowDims / 2 + $spacing);
|
|
||||||
transform: rotate(135deg);
|
align-items: flex-start;
|
||||||
}
|
justify-content: flex-start;
|
||||||
}
|
|
||||||
&.quad-3 {
|
&::after {
|
||||||
top: 0;
|
@include S(right, $spacing);
|
||||||
left: 0;
|
@include S(bottom, $arrowDims / 2 + $spacing);
|
||||||
|
transform: rotate(225deg);
|
||||||
align-items: flex-start;
|
}
|
||||||
justify-content: flex-start;
|
}
|
||||||
|
}
|
||||||
&::after {
|
}
|
||||||
@include S(right, $spacing);
|
}
|
||||||
@include S(bottom, $arrowDims / 2 + $spacing);
|
}
|
||||||
transform: rotate(225deg);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
File diff suppressed because it is too large
Load Diff
@ -1,80 +1,82 @@
|
|||||||
# Translations
|
# Translations
|
||||||
|
|
||||||
The base language is English and can be found [here](base-en.yaml).
|
The base language is English and can be found [here](base-en.yaml).
|
||||||
|
|
||||||
## Languages
|
## Languages
|
||||||
|
|
||||||
- [German](base-de.yaml)
|
- [German](base-de.yaml)
|
||||||
- [French](base-fr.yaml)
|
- [French](base-fr.yaml)
|
||||||
- [Korean](base-kor.yaml)
|
- [Korean](base-kor.yaml)
|
||||||
- [Dutch](base-nl.yaml)
|
- [Dutch](base-nl.yaml)
|
||||||
- [Polish](base-pl.yaml)
|
- [Polish](base-pl.yaml)
|
||||||
- [Portuguese (Brazil)](base-pt-BR.yaml)
|
- [Portuguese (Brazil)](base-pt-BR.yaml)
|
||||||
- [Portuguese (Portugal)](base-pt-PT.yaml)
|
- [Portuguese (Portugal)](base-pt-PT.yaml)
|
||||||
- [Russian](base-ru.yaml)
|
- [Russian](base-ru.yaml)
|
||||||
- [Greek](base-el.yaml)
|
- [Greek](base-el.yaml)
|
||||||
- [Italian](base-it.yaml)
|
- [Italian](base-it.yaml)
|
||||||
- [Romanian](base-ro.yaml)
|
- [Romanian](base-ro.yaml)
|
||||||
- [Swedish](base-sv.yaml)
|
- [Swedish](base-sv.yaml)
|
||||||
- [Chinese (Simplified)](base-zh-CN.yaml)
|
- [Chinese (Simplified)](base-zh-CN.yaml)
|
||||||
- [Chinese (Traditional)](base-zh-TW.yaml)
|
- [Chinese (Traditional)](base-zh-TW.yaml)
|
||||||
- [Spanish](base-es.yaml)
|
- [Spanish](base-es.yaml)
|
||||||
- [Hungarian](base-hu.yaml)
|
- [Hungarian](base-hu.yaml)
|
||||||
- [Turkish](base-tr.yaml)
|
- [Turkish](base-tr.yaml)
|
||||||
- [Japanese](base-ja.yaml)
|
- [Japanese](base-ja.yaml)
|
||||||
- [Lithuanian](base-lt.yaml)
|
- [Lithuanian](base-lt.yaml)
|
||||||
- [Arabic](base-ar.yaml)
|
- [Arabic](base-ar.yaml)
|
||||||
- [Norwegian](base-no.yaml)
|
- [Norwegian](base-no.yaml)
|
||||||
- [Kroatian](base-hr.yaml)
|
- [Kroatian](base-hr.yaml)
|
||||||
- [Danish](base-da.yaml)
|
- [Danish](base-da.yaml)
|
||||||
- [Finnish](base-fi.yaml)
|
- [Finnish](base-fi.yaml)
|
||||||
- [Catalan](base-cat.yaml)
|
- [Catalan](base-cat.yaml)
|
||||||
- [Slovenian](base-sl.yaml)
|
- [Slovenian](base-sl.yaml)
|
||||||
- [Ukrainian](base-uk.yaml)
|
- [Ukrainian](base-uk.yaml)
|
||||||
- [Indonesian](base-ind.yaml)
|
- [Indonesian](base-ind.yaml)
|
||||||
- [Serbian](base-sr.yaml)
|
- [Serbian](base-sr.yaml)
|
||||||
|
|
||||||
(If you want to translate into a new language, see below!)
|
(If you want to translate into a new language, see below!)
|
||||||
|
|
||||||
## Editing existing translations
|
## Editing existing translations
|
||||||
|
|
||||||
If you want to edit an existing translation (Fixing typos, Updating it to a newer version, etc), you can just use the github file editor to edit the file.
|
If you want to edit an existing translation (Fixing typos, updating it to a newer version, etc), you can just use the github file editor to edit the file.
|
||||||
|
|
||||||
- Click the language you want to edit from the list above
|
- Click the language you want to edit from the list above
|
||||||
- Click the small "edit" symbol on the top right
|
- Click the small "edit" symbol on the top right
|
||||||
|
|
||||||
<img src="https://i.imgur.com/gZnUQoe.png" alt="edit symbol" width="200">
|
<img src="https://i.imgur.com/gZnUQoe.png" alt="edit symbol" width="200">
|
||||||
|
|
||||||
- Do the changes you wish to do (Be sure **not** to translate placeholders! For example, `<amount> minutes` should get `<amount> Minuten` and **not** `<anzahl> Minuten`!)
|
- Do the changes you wish to do (Be sure **not** to translate placeholders! For example, `<amount> minutes` should get `<amount> Minuten` and **not** `<anzahl> Minuten`!)
|
||||||
|
|
||||||
- Click "Propose Changes"
|
- Click "Propose Changes"
|
||||||
|
|
||||||
<img src="https://i.imgur.com/KT9ZFp6.png" alt="propose changes" width="200">
|
<img src="https://i.imgur.com/KT9ZFp6.png" alt="propose changes" width="200">
|
||||||
|
|
||||||
- Click "Create pull request"
|
- Click "Create pull request"
|
||||||
|
|
||||||
<img src="https://i.imgur.com/oVljvRE.png" alt="create pull request" width="200">
|
<img src="https://i.imgur.com/oVljvRE.png" alt="create pull request" width="200">
|
||||||
|
|
||||||
- I will review your changes and make comments, and eventually merge them so they will be in the next release! Be sure to regulary check the created pull request for comments.
|
- I will review your changes and make comments, and eventually merge them so they will be in the next release! Be sure to regulary check the created pull request for comments.
|
||||||
|
|
||||||
## Adding a new language
|
## Adding a new language
|
||||||
|
|
||||||
Please DM me on Discord (tobspr#5407), so I can add the language template for you.
|
Please DM me on Discord (tobspr#5407), so I can add the language template for you.
|
||||||
|
|
||||||
Please use the following template:
|
**Important: I am currently not accepting new languages until the wires update is out!**
|
||||||
|
|
||||||
```
|
Please use the following template:
|
||||||
Hey, could you add a new translation?
|
|
||||||
|
```
|
||||||
Language: <Language, e.g. 'German'>
|
Hey, could you add a new translation?
|
||||||
Short code: <Short code, e.g. 'de', see below>
|
|
||||||
Local Name: <Name of your Language, e.g. 'Deutsch'>
|
Language: <Language, e.g. 'German'>
|
||||||
```
|
Short code: <Short code, e.g. 'de', see below>
|
||||||
|
Local Name: <Name of your Language, e.g. 'Deutsch'>
|
||||||
You can find the short code [here](https://www.science.co.il/language/Codes.php) (In column `Code 2`).
|
```
|
||||||
|
|
||||||
PS: I'm super busy, but I'll give my best to do it quickly!
|
You can find the short code [here](https://www.science.co.il/language/Codes.php) (In column `Code 2`).
|
||||||
|
|
||||||
## Updating a language to the latest version
|
PS: I'm super busy, but I'll give my best to do it quickly!
|
||||||
|
|
||||||
Run `yarn syncTranslations` in the root directory to synchronize all translations to the latest version! This will remove obsolete keys and add newly added keys. (Run `yarn` before to install packes).
|
## Updating a language to the latest version
|
||||||
|
|
||||||
|
Run `yarn syncTranslations` in the root directory to synchronize all translations to the latest version! This will remove obsolete keys and add newly added keys. (Run `yarn` before to install packages).
|
||||||
|
Loading…
Reference in new issue