-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Fixed the "CH" translation. - Fixed the processing of some unique cars. - Fixed incorrect definition of mods with the same "modio.json" file. - Standard parameters have been updated. - Added text descriptions of parameters when hovering over the name. - Added the center of mass of trailers. - Added the ability to open files with a third-party editor used by an open auto (in advanced mode). - Added a return of the list state to what it was before opening the table.
- Loading branch information
Showing
119 changed files
with
5,645 additions
and
5,069 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
import { localize } from '/utils/texts/main' | ||
|
||
import texts from '../texts' | ||
|
||
export default localize(texts) | ||
import { LocalizationObj } from '/utils/texts/main' | ||
|
||
export default new LocalizationObj(texts).get() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,22 @@ | ||
import { Lang } from '/mods/data/config/enums' | ||
import { BaseLocalization, BaseLocalizationObj } from '/utils/texts/base-localization' | ||
|
||
export default { | ||
export default new BaseLocalizationObj({ | ||
/** Ошибка сохранения мода */ | ||
saveModError: { | ||
[Lang.ru]: 'Не удалось сохранить файлы модификации. Нет доступа к записи файла.', | ||
[Lang.en]: 'The modification files could not be saved. There is no write access to the file.', | ||
[Lang.de]: 'Die Änderungsdateien konnten nicht gespeichert werden. Sie haben keinen Zugriff auf das Schreiben der Datei.', | ||
[Lang.ch]: '修改文件无法保存。没有写入文件的权限。' | ||
}, | ||
saveModError: new BaseLocalization() | ||
.ru('Не удалось сохранить файлы модификации. Нет доступа к записи файла.') | ||
.en('The modification files could not be saved. There is no write access to the file.') | ||
.de('Die Änderungsdateien konnten nicht gespeichert werden. Sie haben keinen Zugriff auf das Schreiben der Datei.') | ||
.ch('修改文件无法保存。没有写入文件的权限。'), | ||
/** Ошибка сохранения `initial.pak` */ | ||
saveOriginalError: { | ||
[Lang.ru]: 'Не удалось обновить файлы в initial.pak. Нет доступа к записи', | ||
[Lang.en]: 'Failed to update files in initial. pak. There is no access to the record', | ||
[Lang.de]: 'Die Dateien in initial konnten nicht aktualisiert werden.pak. Kein Zugriff auf den Datensatz', | ||
[Lang.ch]: '更新initial.pak中的文件失败。没有写入权限' | ||
}, | ||
saveOriginalError: new BaseLocalization() | ||
.ru('Не удалось обновить файлы в initial.pak. Нет доступа к записи') | ||
.en('Failed to update files in initial. pak. There is no access to the record') | ||
.de('Die Dateien in initial konnten nicht aktualisiert werden.pak. Kein Zugriff auf den Datensatz') | ||
.ch('更新initial.pak中的文件失败。没有写入权限'), | ||
/** Распаковка */ | ||
unpacking: { | ||
[Lang.ru]: 'Распаковка', | ||
[Lang.en]: 'Unpacking', | ||
[Lang.de]: 'Auspacken', | ||
[Lang.ch]: '打开包装' | ||
} | ||
} | ||
unpacking: new BaseLocalization() | ||
.ru('Распаковка') | ||
.en('Unpacking') | ||
.de('Auspacken') | ||
.ch('打开包装') | ||
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
import { localize } from '/utils/texts/main' | ||
|
||
import texts from '../texts' | ||
|
||
export default localize(texts) | ||
import { LocalizationObj } from '/utils/texts/main' | ||
|
||
export default new LocalizationObj(texts).get() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,16 @@ | ||
import { Lang } from '../data/config/enums' | ||
import { BaseLocalization, BaseLocalizationObj } from '/utils/texts/base-localization' | ||
|
||
export default { | ||
export default new BaseLocalizationObj({ | ||
/** Бэкап сохранён успешно */ | ||
successBackupSave: { | ||
[Lang.ru]: 'Бэкап initial.pak успешно сохранён.', | ||
[Lang.en]: 'The initial.pak backup was saved successfully.', | ||
[Lang.de]: 'Die Initiale.pak backup wurde erfolgreich gespeichert.', | ||
[Lang.ch]: 'initial.pak备份已成功保存。' | ||
}, | ||
successBackupSave: new BaseLocalization() | ||
.ru('Бэкап initial.pak успешно сохранён.') | ||
.en('The initial.pak backup was saved successfully.') | ||
.de('Die Initiale.pak backup wurde erfolgreich gespeichert.') | ||
.ch('initial.pak备份已成功保存。'), | ||
/** `initial.pak` восстановлен успешно */ | ||
successInitialRestore: { | ||
[Lang.ru]: 'initial.pak был успешно восстановлен.', | ||
[Lang.en]: 'initial.pak was successfully restored.', | ||
[Lang.de]: 'initial.pak wurde erfolgreich restauriert.', | ||
[Lang.ch]: 'initial.pak已被成功恢复。' | ||
} | ||
} | ||
successInitialRestore: new BaseLocalization() | ||
.ru('initial.pak был успешно восстановлен.') | ||
.en('initial.pak was successfully restored.') | ||
.de('initial.pak wurde erfolgreich restauriert.') | ||
.ch('initial.pak已被成功恢复。') | ||
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
import texts from '../texts' | ||
|
||
import { localize } from '/utils/texts/main' | ||
import { LocalizationObj } from '/utils/texts/main' | ||
|
||
export default localize(texts) | ||
export default new LocalizationObj(texts).get() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,39 +1,34 @@ | ||
import { Lang } from '/mods/data/config/enums' | ||
import { BaseLocalization, BaseLocalizationObj } from '/utils/texts/base-localization' | ||
|
||
export default { | ||
export default new BaseLocalizationObj({ | ||
/** Ошибка прав доступа */ | ||
adminRequiredMessage: { | ||
[Lang.ru]: 'Ошибка запуска. Программа должна быть запущена от имени администратора.', | ||
[Lang.en]: 'Startup error. The program must be run as an administrator.', | ||
[Lang.de]: 'Startfehler. Das Programm muss als administrator ausgeführt.', | ||
[Lang.ch]: '启动错误。该程序必须以管理员身份启动。' | ||
}, | ||
adminRequiredMessage: new BaseLocalization() | ||
.ru('Ошибка запуска. Программа должна быть запущена от имени администратора.') | ||
.en('Startup error. The program must be run as an administrator.') | ||
.de('Startfehler. Das Programm muss als administrator ausgeführt.') | ||
.ch('启动错误。该程序必须以管理员身份启动。'), | ||
/** Доступна новая версия */ | ||
allowNewVersion: { | ||
[Lang.ru]: 'Доступна новая версия программы.', | ||
[Lang.en]: 'A new version of the program is available.', | ||
[Lang.de]: 'Eine neue Version des Programms ist verfügbar.', | ||
[Lang.ch]: '新版本的软件已经问世。' | ||
}, | ||
allowNewVersion: new BaseLocalization() | ||
.ru('Доступна новая версия программы.') | ||
.en('A new version of the program is available.') | ||
.de('Eine neue Version des Programms ist verfügbar.') | ||
.ch('新版本的软件已经问世。'), | ||
/** Не найден `initial.pak` */ | ||
initialNotFound: { | ||
[Lang.ru]: 'initial.pak не найден.', | ||
[Lang.en]: 'initial.pak not found', | ||
[Lang.de]: 'initial.pak nicht gefunden', | ||
[Lang.ch]: '没有找到initial.pak。' | ||
}, | ||
initialNotFound: new BaseLocalization() | ||
.ru('initial.pak не найден.') | ||
.en('initial.pak not found') | ||
.de('initial.pak nicht gefunden') | ||
.ch('没有找到initial.pak。'), | ||
/** Не найдена папка `classes` */ | ||
classesNotFound: { | ||
[Lang.ru]: 'Папка classes не найдена.', | ||
[Lang.en]: 'Folder classes not found', | ||
[Lang.de]: 'Klassen nicht gefunden', | ||
[Lang.ch]: '没有找到classes文件夹。' | ||
}, | ||
classesNotFound: new BaseLocalization() | ||
.ru('Папка classes не найдена.') | ||
.en('Folder classes not found') | ||
.de('Klassen nicht gefunden') | ||
.ch('没有找到classes文件夹。'), | ||
/** Не найдена папка `_dlc` */ | ||
dlcFolderNotFound: { | ||
[Lang.ru]: 'Папка с дополнениями не найдена', | ||
[Lang.en]: 'DLC folder not found', | ||
[Lang.de]: 'DLC-Ordner nicht gefunden', | ||
[Lang.ch]: '未找到增编文件夹' | ||
} | ||
} | ||
dlcFolderNotFound: new BaseLocalization() | ||
.ru('Папка с дополнениями не найдена') | ||
.en('DLC folder not found') | ||
.de('DLC-Ordner nicht gefunden') | ||
.ch('未找到增编文件夹') | ||
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.