Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Russian translation #735

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,13 +78,13 @@ All other tests, including the HDL tests, were executed without errors.
## Documentation ##

The [documentation](https://github.com/hneemann/Digital/releases/latest) is available in English,
German, Spanish, Portuguese, French and simplified Chinese.
German, Spanish, Portuguese, French, simplified Chinese and Russian.
It is still very incomplete but it contains a chapter "First Steps" which explains the basic usage of Digital.
The documentation also contains a list of available 74xx chips and a list of available keyboard shortcuts.

## Translations ##

So far Digital is available in English, German, Spanish, Portuguese, French and simplified Chinese.
So far Digital is available in English, German, Spanish, Portuguese, French, simplified Chinese and Russian.
If someone wants to add a
new translation, please let me [know](mailto:[email protected]).
I can provide you with a special file for translation. This file is much easier to
Expand Down
1 change: 1 addition & 0 deletions src/main/resources/lang/lang.xml
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,5 @@ modified keys.
<lang name="pt" display="Português" file="Portugues"/>
<lang name="fr" display="Français" file="Francais"/>
<lang name="zh" display="简体中文" file="ChineseSimplified"/>
<lang name="ru" display="Русский" file="Russian"/>
</languages>
2,520 changes: 2,520 additions & 0 deletions src/main/resources/lang/lang_ru.xml

Large diffs are not rendered by default.

2,519 changes: 2,519 additions & 0 deletions src/main/resources/lang/lang_ru_ref.xml

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/test/java/de/neemann/digital/docu/DocuTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ private void writeXML(Writer w, File images, String language, File libFile) thro
.append("\" lang=\"")
.append(language)
.append("\" fontFamily=\"")
.append(language.equals("zh") ? "SansSerif,SimSun" : "SansSerif")
.append(language.equals("zh") ? "SansSerif,SimSun" : "SansSerif,Arial")
.append("\" rev=\"")
.append(System.getProperty("buildnumber"))
.append("\" revt=\"")
Expand Down
703 changes: 703 additions & 0 deletions src/test/resources/docu/static_ru.xml

Large diffs are not rendered by default.

703 changes: 703 additions & 0 deletions src/test/resources/docu/static_ru_ref.xml

Large diffs are not rendered by default.