Skip to content

Commit

Permalink
updated translations + fixed issue with bbcode plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
w8tcha committed Oct 25, 2013
1 parent 7c38681 commit aed11c0
Show file tree
Hide file tree
Showing 7 changed files with 17 additions and 15 deletions.
16 changes: 8 additions & 8 deletions autosave/lang/de.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang('autosave', 'de', {
loadSavedContent: 'There is a auto-saved version of this content (From "{0}"). Do you want to open the Compare Dialog, where you can decide to load the auto saved Content?',
title: 'Compare Temp. Saved Content with the Loaded Content of the Site',
loadedContent: 'Loaded Content',
autoSavedContent: 'Auto. Saved Content (From: \'',
ok: 'Load Auto. Saved Content',
diffType: 'Diff View Type:',
sideBySide: 'Side by Side',
inline: 'Inline'
loadSavedContent: 'Is wurde ein autom. Gespeicherter Inhalt gefunden (Von "{0}"). Wollen Sie den Dialog öffnen um den Inhalt zu vergleichen, um dann entscheiden zu können ob der Inhalt geladen werden soll?',
title: 'Temp. Gespeichert Inhalt mit dem geladenen Inhalt der Website vergleichen',
loadedContent: 'Geladener Inhalt',
autoSavedContent: 'Auton. Gespeicherten Inhalt (Vom: \'',
ok: 'Lade Autom. Gespeicherten Inhalt',
diffType: 'Diff Anzeigetyp:',
sideBySide: 'Nebeneinander',
inline: 'Inline'
});
2 changes: 1 addition & 1 deletion autosave/lang/en.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang('autosave', 'en', {
loadSavedContent: 'There is a auto-saved version of this content (From "{0}"). Do you want to open the Compare Dialog, where you can decide to load the auto saved Content?',
loadSavedContent: 'There is a auto-saved version of this content (From "{0}") found. Do you want to open the Compare Dialog, where you can decide to load the auto saved Content?',
title: 'Compare Temp. Saved Content with the Loaded Content of the Site',
loadedContent: 'Loaded Content',
autoSavedContent: 'Auto. Saved Content (From: \'',
Expand Down
2 changes: 1 addition & 1 deletion autosave/lang/jp.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang('autosave', 'jp', {
loadSavedContent: 'There is a auto-saved version of this content (From "{0}"). Do you want to open the Compare Dialog, where you can decide to load the auto saved Content?',
loadSavedContent: 'There is a auto-saved version of this content (From "{0}") found. Do you want to open the Compare Dialog, where you can decide to load the auto saved Content?',
title: 'Compare Temp. Saved Content with the Loaded Content of the Site',
loadedContent: 'Loaded Content',
autoSavedContent: 'Auto. Saved Content (From: \'',
Expand Down
2 changes: 1 addition & 1 deletion autosave/lang/pt-BR.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang('autosave', 'pt-BR', {
loadSavedContent: 'There is a auto-saved version of this content (From "{0}"). Do you want to open the Compare Dialog, where you can decide to load the auto saved Content?',
loadSavedContent: 'There is a auto-saved version of this content (From "{0}") found. Do you want to open the Compare Dialog, where you can decide to load the auto saved Content?',
title: 'Compare Temp. Saved Content with the Loaded Content of the Site',
loadedContent: 'Loaded Content',
autoSavedContent: 'Auto. Saved Content (From: \'',
Expand Down
2 changes: 1 addition & 1 deletion autosave/lang/zh-cn.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang('autosave', 'zh', {
loadSavedContent: 'There is a auto-saved version of this content (From "{0}"). Do you want to open the Compare Dialog, where you can decide to load the auto saved Content?',
loadSavedContent: 'There is a auto-saved version of this content (From "{0}") found. Do you want to open the Compare Dialog, where you can decide to load the auto saved Content?',
title: 'Compare Temp. Saved Content with the Loaded Content of the Site',
loadedContent: 'Loaded Content',
autoSavedContent: 'Auto. Saved Content (From: \'',
Expand Down
2 changes: 1 addition & 1 deletion autosave/lang/zh.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang('autosave', 'zh', {
loadSavedContent: 'There is a auto-saved version of this content (From "{0}"). Do you want to open the Compare Dialog, where you can decide to load the auto saved Content?',
loadSavedContent: 'There is a auto-saved version of this content (From "{0}") found. Do you want to open the Compare Dialog, where you can decide to load the auto saved Content?',
title: 'Compare Temp. Saved Content with the Loaded Content of the Site',
loadedContent: 'Loaded Content',
autoSavedContent: 'Auto. Saved Content (From: \'',
Expand Down
6 changes: 4 additions & 2 deletions autosave/plugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,11 +71,13 @@
onOk: function () {
var jsonSavedContent = LoadData(autoSaveKey);

if (editorInstance.plugins.bbcode) {
/*if (editorInstance.plugins.bbcode) {
editorInstance._.data = jsonSavedContent.data;
} else {
editorInstance.setData(jsonSavedContent.data);
}
}*/

editorInstance.setData(jsonSavedContent.data);

RemoveStorage(autoSaveKey);
},
Expand Down

0 comments on commit aed11c0

Please sign in to comment.