Skip to content

Commit

Permalink
Enhance english translation and add correct language codes
Browse files Browse the repository at this point in the history
  • Loading branch information
rubo77 committed Oct 18, 2018
1 parent 976ae81 commit 65d7727
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 17 deletions.
32 changes: 16 additions & 16 deletions ui/service/lang.en.service.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@ angular.module('kityminderEditor')
'fish': 'Fish bone map',
'wire': 'wireframe',
'fresh-red': 'Fresh red',
'fresh-soil': 'dirty yellow',
'fresh-soil': 'Dirty yellow',
'fresh-green': 'Artistic Green',
'fresh-blue': 'Sky Blue',
'fresh-purple': 'Romantic Purple',
'fresh-pink': 'brain powder',
'fresh-pink': 'Mind powder',
'fresh-red-compat': 'Compact red',
'fresh-soil-compat': 'Compact yellow',
'fresh-green-compat': 'Compact green',
Expand All @@ -44,35 +44,35 @@ angular.module('kityminderEditor')
'color': 'color',
'background': 'background',
'insert': 'insert',
'arrange': 'Adjust',
'arrange': 'adjust',
'nodeop': 'current',
'priority': 'Priority',
'priority': 'priority',
'progress': 'progress',
'resource': 'resource',
'note': 'Remarks',
'note': 'note',
'attachment': 'attachment',
'word': 'text'
},
'error_message': {
'title': 'Oh, the mind map is wrong',

'err_load': 'Load mind map failed',
'err_save': 'Save mind map failed',
'err_load': 'Loading mind map failed',
'err_save': 'Saving mind map failed',
'err_network': 'Network error',
'err_doc_resolve': 'Document parsing failed',
'err_unknown': 'A strange error has occurred',
'err_localfile_read': 'File read error',
'err_download': 'File download failed',
'err_remove_share': 'Cancel sharing failed',
'err_create_share': 'Share failed',
'err_create_share': 'Sharing failed',
'err_mkdir': 'Directory creation failed',
'err_ls': 'Read directory failed',
'err_share_data': 'Load shared content error',
'err_share_sync_fail': 'Share content sync failed',
'err_move_file': 'File move failed',
'err_rename': 'Rename failed',

'unknownreason': 'Maybe the alien has falsified the code...',
'unknownreason': 'Maybe an alien has messed with the code...',
'pcs_code': {
3: "This interface is not supported",
4: "There is no permission to perform this operation",
Expand Down Expand Up @@ -146,20 +146,20 @@ angular.module('kityminderEditor')
'shared_file_title': '[shared] {0} (read only)',
'load_share_for_edit': 'Loading shared files...',
'share_sync_success': 'Share content is synced',
'recycle_clear_confirm': 'Are you sure to empty the recycle bin? The emptied file cannot be recovered. ',
'recycle_clear_confirm': 'Are you sure to empty the recycle bin? The emptied files cannot be recovered. ',

'fullscreen_exit_hint': 'Press Esc or F11 to exit full screen',

'error_detail': 'details',
'copy_and_feedback': 'Copy and feedback',
'move_file_confirm': 'Are you moving "{0}" to "{1}"? ',
'move_file_confirm': 'Move "{0}" to "{1}"? ',
'rename': 'rename',
'rename_success': '{0} rename succeeded',
'move_success': '{0} moved successfully to {1}',

'command': {
'exportPNG': 'Export as a PNG image',
'exportSVG': 'Export to SVG image',
'exportPNG': 'Export as PNG image',
'exportSVG': 'Export as SVG image',
'appendsiblingnode': 'Insert sibling theme',
'appendparentnode': 'Insert superior theme',
'appendchildnode': 'Insert subordinate theme',
Expand All @@ -170,10 +170,10 @@ angular.module('kityminderEditor')
'resetlayout': 'Organize layout',
'expandtoleaf': 'Expand all nodes',
'expandtolevel1': 'Expand to level 1 node',
'expandtolevel2': 'Expand to secondary node',
'expandtolevel3': 'Expand to a level 3 node',
'expandtolevel2': 'Expand to level 2 node',
'expandtolevel3': 'Expand to level 3 node',
'expandtolevel4': 'Expand to level 4 node',
'expandtolevel5': 'Expand to a level 5 node',
'expandtolevel5': 'Expand to level 5 node',
'expandtolevel6': 'Expand to level 6 node',
'fullscreen': 'full screen',
'outline': 'outline'
Expand Down
2 changes: 1 addition & 1 deletion ui/service/lang.zh-pny.service.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
angular.module('kityminderEditor')
.service('lang.zh-pny', function() {
return {
'zh-cn': {
'zh-pny': {
'template': {
'default': 'Sīwéi dǎo tú',
'tianpan': 'Tiān pán tú',
Expand Down

0 comments on commit 65d7727

Please sign in to comment.