Merge pull request #731 from ONLYOFFICE/fix/translation

[SSE] Add translation
This commit is contained in:
Julia Radzhabova 2021-03-05 01:04:03 +03:00 committed by GitHub
commit 5127935203
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 27 additions and 2 deletions

View file

@ -131,8 +131,17 @@ define([
'Column Labels': this.txtColLbls, 'Column Labels': this.txtColLbls,
'Multi-Select (Alt+S)': this.txtMultiSelect, 'Multi-Select (Alt+S)': this.txtMultiSelect,
'Clear Filter (Alt+C)': this.txtClearFilter, 'Clear Filter (Alt+C)': this.txtClearFilter,
'(blank)': this.txtBlank '(blank)': this.txtBlank,
'Group': this.txtGroup,
'Seconds': this.txtSeconds,
'Minutes': this.txtMinutes,
'Hours': this.txtHours,
'Days': this.txtDays,
'Months': this.txtMonths,
'Quarters': this.txtQuarters,
'Years': this.txtYears
}; };
styleNames.forEach(function(item){ styleNames.forEach(function(item){
translate[item] = me['txtStyle_' + item.replace(/ /g, '_')] || item; translate[item] = me['txtStyle_' + item.replace(/ /g, '_')] || item;
}); });
@ -2813,7 +2822,15 @@ define([
textRenameLabel: 'Enter a name to be used for collaboration', textRenameLabel: 'Enter a name to be used for collaboration',
textRenameError: 'User name must not be empty.', textRenameError: 'User name must not be empty.',
textLongName: 'Enter a name that is less than 128 characters.', textLongName: 'Enter a name that is less than 128 characters.',
textGuest: 'Guest' textGuest: 'Guest',
txtGroup: 'Group',
txtSeconds: 'Seconds',
txtMinutes: 'Minutes',
txtHours: 'Hours',
txtDays: 'Days',
txtMonths: 'Months',
txtQuarters: 'Quarters',
txtYears: 'Years'
} }
})(), SSE.Controllers.Main || {})) })(), SSE.Controllers.Main || {}))
}); });

View file

@ -912,6 +912,14 @@
"SSE.Controllers.Main.warnNoLicense": "You've reached the limit for simultaneous connections to %1 editors. This document will be opened for viewing only.<br>Contact %1 sales team for personal upgrade terms.", "SSE.Controllers.Main.warnNoLicense": "You've reached the limit for simultaneous connections to %1 editors. This document will be opened for viewing only.<br>Contact %1 sales team for personal upgrade terms.",
"SSE.Controllers.Main.warnNoLicenseUsers": "You've reached the user limit for %1 editors. Contact %1 sales team for personal upgrade terms.", "SSE.Controllers.Main.warnNoLicenseUsers": "You've reached the user limit for %1 editors. Contact %1 sales team for personal upgrade terms.",
"SSE.Controllers.Main.warnProcessRightsChange": "You have been denied the right to edit the file.", "SSE.Controllers.Main.warnProcessRightsChange": "You have been denied the right to edit the file.",
"SSE.Controllers.Main.txtGroup": "Group",
"SSE.Controllers.Main.txtSeconds": "Seconds",
"SSE.Controllers.Main.txtMinutes": "Minutes",
"SSE.Controllers.Main.txtHours": "Hours",
"SSE.Controllers.Main.txtDays": "Days",
"SSE.Controllers.Main.txtMonths": "Months",
"SSE.Controllers.Main.txtQuarters": "Quarters",
"SSE.Controllers.Main.txtYears": "Years",
"SSE.Controllers.Print.strAllSheets": "All Sheets", "SSE.Controllers.Print.strAllSheets": "All Sheets",
"SSE.Controllers.Print.textFirstCol": "First column", "SSE.Controllers.Print.textFirstCol": "First column",
"SSE.Controllers.Print.textFirstRow": "First row", "SSE.Controllers.Print.textFirstRow": "First row",