forked from clausd/mapillary_localization
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit d35223a
Showing
7 changed files
with
82 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
node_modules | ||
*.js | ||
*.baked |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# Build configurations. | ||
module.exports = (grunt) -> | ||
grunt.initConfig | ||
pkg: grunt.file.readJSON("./package.json") | ||
|
||
bake: | ||
compile: | ||
files: | ||
"<%= pkg.name %>.coffee.baked": "./<%=pkg.name%>.coffee" | ||
|
||
coffee: | ||
compile: | ||
files: [ | ||
src: "<%= pkg.name %>.coffee.baked" | ||
dest: "./<%=pkg.name%>.js" | ||
] | ||
options: | ||
bare: false | ||
|
||
loadNpmTasks = (tasks) -> | ||
for dep, ver of tasks when dep.match("grunt-contrib") | ||
grunt.loadNpmTasks dep | ||
|
||
grunt.loadNpmTasks( "grunt-bake" ) | ||
|
||
pkg = grunt.file.readJSON("./package.json") | ||
loadNpmTasks pkg.dependencies | ||
grunt.registerTask "default", ["bake", "coffee"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
{ | ||
"name": "mapillary_localization", | ||
"main": "mapillary_localization.js", | ||
"version": "1.0.0", | ||
"authors": [ | ||
"Johan Gyllenspetz <[email protected]>" | ||
], | ||
"description": "Localization for Mapillary", | ||
"keywords": [ | ||
"mapillary" | ||
], | ||
"license": "MIT", | ||
"homepage": "http://www.mapillary.com", | ||
"private": true, | ||
"ignore": [ | ||
"**/.*", | ||
"node_modules", | ||
"bower_components", | ||
"test", | ||
"tests" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
LANDING: | ||
TITLE: "Bilder für alle." | ||
BUTTON_LANG_EN: "Englisch" | ||
BUTTON_LANG_DE: "Deutsch" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
LANDING: | ||
TITLE: "Crowdsourced Street Level Photos." | ||
FOO: "Crowdsourced Street Level Photos." | ||
BUTTON_LANG_EN: "English" | ||
BUTTON_LANG_DE: "German" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
angular.module("mapapp").config ($translateProvider) -> | ||
$translateProvider.translations "en", | ||
<!--(bake locales/en.coffee)--> | ||
|
||
$translateProvider.translations "de", | ||
<!--(bake locales/de.coffee)--> | ||
|
||
$translateProvider.preferredLanguage "en" | ||
$translateProvider.useLocalStorage() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ | ||
"name": "mapillary_localization", | ||
"description": "Localization of Mapillary", | ||
"version": "0.0.1", | ||
"dependencies": { | ||
"grunt": "0.4.0", | ||
"grunt-bake": "~0.3.12", | ||
"grunt-cli": "~0.1.6", | ||
"grunt-contrib-coffee": "~0.4.0" | ||
} | ||
} |