Skip to content

Commit

Permalink
Support Arabic language (#456)
Browse files Browse the repository at this point in the history
* Support arabic language

* Add text direction field to the popup

* Fix uppercase in Arabic and Dubai words

* Convert tabs to spaces

* Tabs in lang files everywhere

* Support currentLang option for tiles too
  • Loading branch information
Trufi authored and vkorostelev committed Dec 27, 2017
1 parent b5a181b commit 0244e90
Show file tree
Hide file tree
Showing 70 changed files with 300 additions and 8,418 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,6 @@ vendors/leaflet/dist/leaflet-src.js
coverage
jsconfig.json
.vscode

package-lock.json
yarn.lock
26 changes: 17 additions & 9 deletions gulp/deps/deps.js
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,8 @@ var deps = {
'DGZoomControl/lang/it.js',
'DGZoomControl/lang/cs.js',
'DGZoomControl/lang/en.js',
'DGZoomControl/lang/es.js'
'DGZoomControl/lang/es.js',
'DGZoomControl/lang/ar.js'
],
less: {
all: [
Expand All @@ -120,7 +121,8 @@ var deps = {
'DGAttribution/lang/it.js',
'DGAttribution/lang/cs.js',
'DGAttribution/lang/en.js',
'DGAttribution/lang/es.js'
'DGAttribution/lang/es.js',
'DGAttribution/lang/ar.js'
],
less: {
all: [
Expand All @@ -136,7 +138,7 @@ var deps = {
'DGLocale/src/DGDictionary.js',
'DGLocale/src/DGLocale.js'
],
deps: ['DGCore']
deps: ['DGCore', 'DGProjectDetector']
},

DGLocation: {
Expand All @@ -147,7 +149,8 @@ var deps = {
'DGLocation/lang/it.js',
'DGLocation/lang/cs.js',
'DGLocation/lang/en.js',
'DGLocation/lang/es.js'
'DGLocation/lang/es.js',
'DGLocation/lang/ar.js'
],
less: {
all: [
Expand All @@ -167,7 +170,8 @@ var deps = {
'DGFullScreen/lang/it.js',
'DGFullScreen/lang/cs.js',
'DGFullScreen/lang/en.js',
'DGFullScreen/lang/es.js'
'DGFullScreen/lang/es.js',
'DGFullScreen/lang/ar.js'
],
less: {
all: [
Expand Down Expand Up @@ -291,7 +295,8 @@ var deps = {
'DGTraffic/lang/it.js',
'DGTraffic/lang/cs.js',
'DGTraffic/lang/es.js',
'DGTraffic/lang/en.js'
'DGTraffic/lang/en.js',
'DGTraffic/lang/ar.js'
],
deps: ['DGMeta', 'DGLabel', 'DGLocale']
},
Expand All @@ -304,7 +309,8 @@ var deps = {
'DGTrafficControl/lang/it.js',
'DGTrafficControl/lang/cs.js',
'DGTrafficControl/lang/es.js',
'DGTrafficControl/lang/en.js'
'DGTrafficControl/lang/en.js',
'DGTrafficControl/lang/ar.js'
],
less: {
all: [
Expand All @@ -326,7 +332,8 @@ var deps = {
'DGRuler/lang/it.js',
'DGRuler/lang/cs.js',
'DGRuler/lang/es.js',
'DGRuler/lang/en.js'
'DGRuler/lang/en.js',
'DGRuler/lang/ar.js'
],
less: {
all: ['DGRuler/skin/{skin}/less/dg-ruler.less'],
Expand All @@ -343,7 +350,8 @@ var deps = {
'DGRulerControl/lang/it.js',
'DGRulerControl/lang/cs.js',
'DGRulerControl/lang/es.js',
'DGRulerControl/lang/en.js'
'DGRulerControl/lang/en.js',
'DGRulerControl/lang/ar.js'
],
less: {
all: ['DGRulerControl/skin/{skin}/less/dg-control-round.less']
Expand Down
Loading

0 comments on commit 0244e90

Please sign in to comment.