Skip to content

Commit

Permalink
translate page titles
Browse files Browse the repository at this point in the history
  • Loading branch information
iled committed Jul 14, 2016
1 parent 38660d4 commit ce89330
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 8 deletions.
7 changes: 3 additions & 4 deletions viewer/js/config/nls/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ define({
},
titles: {
header: 'Configurable Map Viewer',
pageTitle: 'Configurable Map Viewer'
subHeader: 'make it your own',
pageTitle: 'Configurable Map Viewer',
subHeader: 'make it your own'
},
widgets: {
bookmarks: 'Bookmarks',
Expand All @@ -51,8 +51,7 @@ define({
print: 'Print',
streetview: 'Google Street View'
}

},
}
},
'pt-pt': true
});
4 changes: 2 additions & 2 deletions viewer/js/config/nls/pt-pt/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ define({
},
titles: {
header: 'Configurable Map Viewer',
pageTitle: 'Configurable Map Viewer'
subHeader: 'make it your own',
pageTitle: 'Configurable Map Viewer — Um visualizador de mapas configurável', // One configurable map viewer
subHeader: 'personaliza-o ao teu gosto' // customize it at your will (the literal translation doesn’t sound good)
},
widgets: {
bookmarks: 'Marcadores',
Expand Down
2 changes: 0 additions & 2 deletions viewer/js/config/viewer.js
Original file line number Diff line number Diff line change
Expand Up @@ -84,13 +84,11 @@ define([
// collapseButtonsPane: 'center', //center or outer

// custom titles
/*
titles: {
header: i18n.viewer.titles.header,
subHeader: i18n.viewer.titles.subHeader,
pageTitle: i18n.viewer.titles.pageTitle
},
*/

// user-defined layer types
/*
Expand Down

0 comments on commit ce89330

Please sign in to comment.