Skip to content

Commit 1f99918

Browse files
author
Olivier Giulieri
committed
Added forgotten string to export i18n.
1 parent 63f8bc6 commit 1f99918

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

js/action-export.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -112,14 +112,14 @@ Evol.ViewAction.Export = Evol.ViewAction.extend({
112112
});
113113
h.push('</div>');
114114
//# Preview #######
115-
h.push('<label>Export Preview</label><div class="evol-xpt-preview"></div>');
115+
h.push('<label>',evoLangXpt.preview,'</label><div class="evol-xpt-preview">');
116116
// ## Samples
117117
h.push('<textarea class="Field evol-xpt-val form-control"></textarea>');
118-
h.push('</div></div></div>');
118+
h.push('</div></div></div></div>');
119119
// ## Download button
120120
h.push('<div class="evol-buttons form-actions">',
121-
Evol.UI.input.button('cancel', Evol.i18n.Cancel, 'btn-default'),
122-
Evol.UI.input.button('export', evoLangXpt.DownloadEntity.replace('{0}', this.options.uiModel.entities), 'btn btn-primary'));
121+
EvoUI.input.button('cancel', Evol.i18n.Cancel, 'btn-default'),
122+
EvoUI.input.button('export', evoLangXpt.DownloadEntity.replace('{0}', this.options.uiModel.entities), 'btn btn-primary'));
123123
return h.join('');
124124
},
125125

js/i18n/EN.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,7 @@ Evol.i18n = {
104104
export:{
105105
ExportEntity: 'Export {0}', // {0}=entity
106106
ExportEntities: 'Export {0}', // {0}=entities
107+
preview:'Export Preview',
107108
ExportHeader: 'Header',
108109
ExportSeparator: 'Separator',
109110
ExportFirstLine:'First line for field names',

0 commit comments

Comments
 (0)