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

WIP: Перевести разработку в EDT и задействовать LangTool #102

Closed
wants to merge 10 commits into from
Closed
Show file tree
Hide file tree
Changes from all 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
21 changes: 21 additions & 0 deletions TRANSLATION.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# Что надо чтобы начать разработку

1. EDT 2021.2.10 https://releases.1c.ru/project/DevelopmentTools10
2. Платформа 8.3.20.1613 https://releases.1c.ru/version_files?nick=Platform83&ver=8.3.20.1613
3. Language Tool 0.10.0 https://its.1c.ru/db/edtplugins#bookmark:languagetool:Install

# Проверьте взаимосвязь проектов

1. Контекстное меню проекта `Open Project Editor` cнизу вкладка `Translations`
2. Указан проект переводом `Connector.Translations` в нем хранятся словари для переводов
3. Указан проект сборки английской версии `Connector.En`

# Какие словари бывают

- Словарь модели (model) - в нем сохраняются переводы кода программы. Имена процедур и фукнций. Переменных. Документирующих комментариев.
- Словарь интерфейса (interface) - в нем сохраняются переводы интерфейса программы. Синонимы объектов метаданных. Строки в НСтр.

# Добавление строки в исключение

`//@non-nls-1`, `//@non-nls-2` - где число - это порядковый номер литерала в стркое кода.

18 changes: 18 additions & 0 deletions src/Connector.En/.project
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>Connector.En</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.xtext.ui.shared.xtextBuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.xtext.ui.shared.xtextNature</nature>
<nature>com._1c.g5.v8.dt.core.V8ConfigurationNature</nature>
</natures>
</projectDescription>
2 changes: 2 additions & 0 deletions src/Connector.En/.settings/com.e1c.v8codestyle.autosort.prefs
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
eclipse.preferences.version=1
topObjects=true
2 changes: 2 additions & 0 deletions src/Connector.En/.settings/org.eclipse.core.resources.prefs
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
eclipse.preferences.version=1
encoding/<project>=UTF-8
2 changes: 2 additions & 0 deletions src/Connector.En/DT-INF/PROJECT.PMF
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Manifest-Version: 1.0
Runtime-Version: 8.3.20
11 changes: 11 additions & 0 deletions src/Connector.En/src/CommonModules/HTTPConnector/HTTPConnector.mdo
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<mdclass:CommonModule xmlns:mdclass="http://g5.1c.ru/v8/dt/metadata/mdclass" uuid="b410e6fc-2af6-4b78-8dde-12f5e259926c">
<name>HTTPConnector</name>
<synonym>
<key>ru</key>
<value>Коннектор: удобный HTTP-клиент для 1С:Предприятие 8</value>
</synonym>
<server>true</server>
<externalConnection>true</externalConnection>
<clientOrdinaryApplication>true</clientOrdinaryApplication>
</mdclass:CommonModule>
Loading