Skip to content

Commit

Permalink
Translate
Browse files Browse the repository at this point in the history
  • Loading branch information
DitriXNew committed May 3, 2023
1 parent 51a441d commit cdc10e6
Show file tree
Hide file tree
Showing 15 changed files with 379 additions and 1 deletion.
25 changes: 25 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Create master
on:
release:
types: [released]
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Run a multi-line script
env:
REPO_NAME: ${{ github.event.repository.name }}
RELEASE_VERSION: ${{ steps.branch_name.outputs.SOURCE_TAG }}
run: |
git config --global user.email "[email protected]"
git config --global user.name "IRP Team"
git fetch
git checkout master
git rm . -r --force --quiet
git checkout origin/develop .
sed -i "s/#yearNumber#.#weekNumber#.#BuildNumber#/$RELEASE_VERSION/" ./$REPO_NAME/src/Configuration/Configuration.mdo
git add .
git commit -m "$RELEASE_VERSION"
git push
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,10 @@
<key>en</key>
<value>Ordered net amount</value>
</synonym>
<synonym>
<key>ru</key>
<value>Заказано сумма без налогов</value>
</synonym>
<type>
<types>DefinedType.typeAmount</types>
</type>
Expand All @@ -170,6 +174,10 @@
<key>en</key>
<value>Ordered total amount</value>
</synonym>
<synonym>
<key>ru</key>
<value>Заказано сумма итого</value>
</synonym>
<type>
<types>DefinedType.typeAmount</types>
</type>
Expand All @@ -183,6 +191,10 @@
<key>en</key>
<value>Re ordered net amount</value>
</synonym>
<synonym>
<key>ru</key>
<value>Перезаказано сумма без налогов</value>
</synonym>
<type>
<types>DefinedType.typeAmount</types>
</type>
Expand All @@ -196,6 +208,10 @@
<key>en</key>
<value>Re ordered total amount</value>
</synonym>
<synonym>
<key>ru</key>
<value>Перезаказано сумма итого</value>
</synonym>
<type>
<types>DefinedType.typeAmount</types>
</type>
Expand All @@ -209,6 +225,10 @@
<key>en</key>
<value>Purchase net amount</value>
</synonym>
<synonym>
<key>ru</key>
<value>Куплено сумма без налогов</value>
</synonym>
<type>
<types>DefinedType.typeAmount</types>
</type>
Expand All @@ -222,6 +242,10 @@
<key>en</key>
<value>Purchase total amount</value>
</synonym>
<synonym>
<key>ru</key>
<value>Куплено сумма итого</value>
</synonym>
<type>
<types>DefinedType.typeAmount</types>
</type>
Expand All @@ -235,6 +259,10 @@
<key>en</key>
<value>Sales net amount</value>
</synonym>
<synonym>
<key>ru</key>
<value>Продано сумма без налогов</value>
</synonym>
<type>
<types>DefinedType.typeAmount</types>
</type>
Expand All @@ -248,6 +276,10 @@
<key>en</key>
<value>Sales total amount</value>
</synonym>
<synonym>
<key>ru</key>
<value>Продано сумма итого</value>
</synonym>
<type>
<types>DefinedType.typeAmount</types>
</type>
Expand Down
4 changes: 4 additions & 0 deletions IRP/src/Catalogs/Taxes/Forms/ChoiceTransactionTypes/Form.form
Original file line number Diff line number Diff line change
Expand Up @@ -371,6 +371,10 @@
<key>en</key>
<value>Transaction types</value>
</title>
<title>
<key>ru</key>
<value>Тип транзакции</value>
</title>
<id>1</id>
<valueType>
<types>ValueTable</types>
Expand Down
8 changes: 8 additions & 0 deletions IRP/src/Catalogs/Taxes/Forms/ItemForm/Form.form
Original file line number Diff line number Diff line change
Expand Up @@ -1109,6 +1109,10 @@
<key>en</key>
<value>Transaction types</value>
</title>
<title>
<key>ru</key>
<value>Тип транзакции</value>
</title>
<id>3</id>
<valueType>
<types>String</types>
Expand Down Expand Up @@ -1180,6 +1184,10 @@
<key>en</key>
<value>Set transaction types</value>
</title>
<title>
<key>ru</key>
<value>Установить тип транзакции</value>
</title>
<id>2</id>
<use>
<common>true</common>
Expand Down
8 changes: 8 additions & 0 deletions IRP/src/Catalogs/Taxes/Taxes.mdo
Original file line number Diff line number Diff line change
Expand Up @@ -339,6 +339,10 @@
<key>en</key>
<value>Transaction types</value>
</synonym>
<synonym>
<key>ru</key>
<value>Тип транзакции</value>
</synonym>
<attributes uuid="1ef75181-7070-40d7-bc96-216189698656">
<name>DocumentName</name>
<synonym>
Expand Down Expand Up @@ -444,6 +448,10 @@
<key>en</key>
<value>Choice transaction types</value>
</synonym>
<synonym>
<key>ru</key>
<value>Выбрать тип транзации</value>
</synonym>
<usePurposes>PersonalComputer</usePurposes>
<usePurposes>MobileDevice</usePurposes>
</forms>
Expand Down
4 changes: 4 additions & 0 deletions IRP/src/CommonForms/UpdateItemListInfo/Form.form
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,10 @@
<key>en</key>
<value>Command bar</value>
</title>
<title>
<key>ru</key>
<value>Командная панель</value>
</title>
<extendedTooltip>
<name>GroupCommandBarExtendedTooltip</name>
<id>84</id>
Expand Down
3 changes: 2 additions & 1 deletion IRP/src/CommonModules/Localization/Module.bsl
Original file line number Diff line number Diff line change
Expand Up @@ -1124,7 +1124,8 @@ Function Strings(Lang) Export
|ru='Превышение лимита количества. Номер строки: [%1] количество: [%2] лимит: [%3]'", Lang));
Strings.Insert("Error_125", NStr("en='Invoice for document: [%1] is empty';
|ru='Инвойс для документа [%1] пуст'", Lang));
Strings.Insert("Error_126", NStr("en='Document does not have transaction types'", Lang));
Strings.Insert("Error_126", NStr("en='Document does not have transaction types';
|ru='В документе не указан тип транзакции'", Lang));

// manufacturing errors
Strings.Insert("MF_Error_001", NStr("en='Repetitive materials [%1]';
Expand Down
Loading

0 comments on commit cdc10e6

Please sign in to comment.