Russian: Update translation
This commit is contained in:
parent
812ee7c419
commit
fc698e46d6
273 changed files with 11864 additions and 623486 deletions
|
@ -125,6 +125,48 @@ Window_OmoriFileInformation.prototype.refresh = function() {
|
|||
this.contents.fillRect(0, 29, 108, 3, 'rgba(255, 255, 255, 1)')
|
||||
};
|
||||
|
||||
// For compatibility with 1.0.7 and lower versions.
|
||||
Scene_OmoriFile.prototype.onSelectInputOk = function() {
|
||||
// Get Index
|
||||
var index = this._commandWindow.index();
|
||||
// Get Save File ID
|
||||
var saveFileid = this.savefileId();
|
||||
// If Save
|
||||
if (index === 0) {
|
||||
// If File Exists
|
||||
if (StorageManager.exists(saveFileid)) {
|
||||
// Show Prompt Window
|
||||
this.showPromptWindow('Переписать этот файл?');
|
||||
// Set Can select Flag to false
|
||||
this._canSelect = false;
|
||||
} else {
|
||||
// Save The Game
|
||||
this.saveGame();
|
||||
};
|
||||
} else {
|
||||
// If File Exists
|
||||
if (StorageManager.exists(saveFileid)) {
|
||||
// Show Prompt Window
|
||||
this.showPromptWindow('Загрузить файл?');
|
||||
// Set Can select Flag to false
|
||||
this._canSelect = false;
|
||||
} else {
|
||||
// Play Buzzer Sound
|
||||
SoundManager.playBuzzer();
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
Window_OmoriFileCommand.prototype.makeCommandList = function () {
|
||||
this.addCommand("СОХРАНИТЬ", 'save', this._canSave);
|
||||
this.addCommand("ЗАГРУЗИТЬ", 'load', this._canLoad);
|
||||
};
|
||||
|
||||
Window_OmoriFilePrompt.prototype.makeCommandList = function () {
|
||||
this.addCommand("ДА", 'ok');
|
||||
this.addCommand("НЕТ", 'cancel');
|
||||
};
|
||||
|
||||
Window_OmoriFileCommand.prototype.initialize = function() {
|
||||
// Original window X position: 42
|
||||
Window_Command.prototype.initialize.call(this, 20, 28);
|
||||
|
@ -320,7 +362,7 @@ Window_OmoriInputLetters.prototype.onNameOk = function() {
|
|||
|
||||
// ============================================================================
|
||||
// OMORI RUS mod specific: Bad ending movie cover switcher.
|
||||
// Switches between Russian cover and original cover of My Time by Bo en.
|
||||
// Switches between Russian cover and original cover of My Time by Bo En.
|
||||
// ============================================================================
|
||||
|
||||
(function() {
|
||||
|
@ -728,7 +770,26 @@ Gamefall.JPWordWrap = Gamefall.JPWordWrap || {};
|
|||
["СПАЛЬНЯ СОСЕДЕЙ","NEIGHBOR'S BEDROOM","オトナリベッドルーム","이웃의 침실","邻居的卧室"]
|
||||
];
|
||||
|
||||
DataManager = class extends DataManager {
|
||||
// For compatibility with 1.0.7 and lower versions.
|
||||
if (typeof DataManager.convertNameToLanguage == 'undefined') {
|
||||
DataManager.convertNameToLanguage = function(type, name) {
|
||||
let myLanguageIndex = ['en', 'jp', 'kr', 'sc'].indexOf(LanguageManager.defaultLanguage());
|
||||
if (myLanguageIndex != -1) {
|
||||
let namesPerLanguage = type === 'actor'? this.actorNamesPerLanguage : type === "chapter" ? this.chapterNamesPerLanguage : this.locationNamesPerLanguage;
|
||||
for (let entryNum = 0; entryNum < namesPerLanguage.length; entryNum++) {
|
||||
for (let languageID = 0; languageID < namesPerLanguage[entryNum].length; languageID++) {
|
||||
if (languageID == myLanguageIndex) continue;
|
||||
if (name == namesPerLanguage[entryNum][languageID]) { // Name from other language detected
|
||||
return namesPerLanguage[entryNum][myLanguageIndex];
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
return name;
|
||||
}
|
||||
}
|
||||
|
||||
DataManager = class extends DataManager {
|
||||
static loadSavefileInfo(savefileId) {
|
||||
var globalInfo = this.loadGlobalInfo();
|
||||
if (globalInfo && globalInfo[savefileId]) {
|
||||
|
@ -763,20 +824,23 @@ Gamefall.JPWordWrap = Gamefall.JPWordWrap || {};
|
|||
// Patches for plugin: Omori Name Input
|
||||
// ============================================================================
|
||||
|
||||
VirtualKeyboard.EN = {
|
||||
default: [
|
||||
"` 1 2 3 4 5 6 7 8 9 0 - = {bksp}",
|
||||
"й ц у к е н г ш щ з х ъ \\",
|
||||
"{lock} ф ы в а п р о л д ж э",
|
||||
"я ч с м и т ь б ю . {confirm} {space}"
|
||||
],
|
||||
shift: [
|
||||
"~ ! @ # $ % ^ & * ( ) _ + {bksp}",
|
||||
"Й Ц У К Е Н Г Ш Щ З Х Ъ |",
|
||||
"{lock} Ф Ы В А П Р О Л Д Ж Э",
|
||||
"Я Ч С М И Т Ь Б Ю ? {confirm} {space}"
|
||||
]
|
||||
};
|
||||
// VirtualKeyboard not exists in 1.0.7 and lower versions.
|
||||
if (typeof VirtualKeyboard !== 'undefined') {
|
||||
VirtualKeyboard.EN = {
|
||||
default: [
|
||||
"` 1 2 3 4 5 6 7 8 9 0 - = {bksp}",
|
||||
"й ц у к е н г ш щ з х ъ \\",
|
||||
"{lock} ф ы в а п р о л д ж э",
|
||||
"я ч с м и т ь б ю . {confirm} {space}"
|
||||
],
|
||||
shift: [
|
||||
"~ ! @ # $ % ^ & * ( ) _ + {bksp}",
|
||||
"Й Ц У К Е Н Г Ш Щ З Х Ъ |",
|
||||
"{lock} Ф Ы В А П Р О Л Д Ж Э",
|
||||
"Я Ч С М И Т Ь Б Ю ? {confirm} {space}"
|
||||
]
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
// ============================================================================
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue