Skip to content

Commit

Permalink
[i18n] add a message TextArea
Browse files Browse the repository at this point in the history
  • Loading branch information
nao-pon committed Jun 14, 2017
1 parent abdb437 commit b7cf4fc
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 7 deletions.
10 changes: 5 additions & 5 deletions js/extras/editors.default.js
Original file line number Diff line number Diff line change
Expand Up @@ -498,7 +498,7 @@
// TextArea button and Setting button
$('<div class="ui-dialog-buttonset"/>').css('float', 'left')
.append(
$('<button>TextArea</button>')
$('<button/>').html(self.fm.i18n('TextArea'))
.button()
.on('click', function(){
if (ta.data('ace')) {
Expand All @@ -511,7 +511,7 @@
editorBase.show();
editor.setValue(ta.hide().val(), -1);
editor.focus();
$(this).text('TextArea');
$(this).html(self.fm.i18n('TextArea'));
}
})
)
Expand Down Expand Up @@ -616,7 +616,7 @@
// TextArea button and Setting button
$('<div class="ui-dialog-buttonset"/>').css('float', 'left')
.append(
$('<button>TextArea</button>')
$('<button/>').html(self.fm.i18n('TextArea'))
.button()
.on('click', function(){
if (ta.data('cm')) {
Expand All @@ -630,7 +630,7 @@
editor.setValue(ta.hide().val());
editor.refresh();
editor.focus();
$(this).text('TextArea');
$(this).html(self.fm.i18n('TextArea'));
}
})
)
Expand Down Expand Up @@ -909,7 +909,7 @@
{
// Simple Text (basic textarea editor)
info : {
name : 'Simple Text'
name : 'TextArea'
},
load : function(){},
save : function(){}
Expand Down
1 change: 1 addition & 0 deletions js/i18n/elfinder.LANG.js
Original file line number Diff line number Diff line change
Expand Up @@ -418,6 +418,7 @@
'firstLetterSearch': 'First letter search', // from v2.1.23 added 24.3.2017
'presets' : 'Presets', // from v2.1.25 added 26.5.2017
'tooManyToTrash' : 'It\'s too many items so it can\'t into trash.', // from v2.1.25 added 9.6.2017
'TextArea' : 'TextArea', // from v2.1.25 added 14.6.2017

/********************************** mimetypes **********************************/
'kindUnknown' : 'Unknown',
Expand Down
3 changes: 2 additions & 1 deletion js/i18n/elfinder.en.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* English translation
* @author Troex Nevelin <[email protected]>
* @version 2017-06-09
* @version 2017-06-14
*/
// elfinder.en.js is integrated into elfinder.(full|min).js by jake build
if (typeof elFinder === 'function' && elFinder.prototype.i18) {
Expand Down Expand Up @@ -404,6 +404,7 @@ if (typeof elFinder === 'function' && elFinder.prototype.i18) {
'firstLetterSearch': 'First letter search', // from v2.1.23 added 24.3.2017
'presets' : 'Presets', // from v2.1.25 added 26.5.2017
'tooManyToTrash' : 'It\'s too many items so it can\'t into trash.', // from v2.1.25 added 9.6.2017
'TextArea' : 'TextArea', // from v2.1.25 added 14.6.2017

/********************************** mimetypes **********************************/
'kindUnknown' : 'Unknown',
Expand Down
3 changes: 2 additions & 1 deletion js/i18n/elfinder.jp.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Japanese translation
* @author Tomoaki Yoshida <[email protected]>
* @author Naoki Sawada <[email protected]>
* @version 2017-06-09
* @version 2017-06-14
*/
(function(root, factory) {
if (typeof define === 'function' && define.amd) {
Expand Down Expand Up @@ -412,6 +412,7 @@
'firstLetterSearch': '一文字目で検索', // from v2.1.23 added 24.3.2017
'presets' : 'プリセット', // from v2.1.25 added 26.5.2017
'tooManyToTrash' : 'アイテム数が多すぎるのでごみ箱に入れられません。', // from v2.1.25 added 9.6.2017
'TextArea' : 'テキストエリア', // from v2.1.25 added 14.6.2017

/********************************** mimetypes **********************************/
'kindUnknown' : '不明',
Expand Down

0 comments on commit b7cf4fc

Please sign in to comment.