Permalink
Browse files

Template: Add chinese and dutch translations.

  • Loading branch information...
1 parent 3057d15 commit 71f88c3391ae970443b4071a5d682627b50efcf3 @rottmann rottmann committed Dec 19, 2014
Showing with 61 additions and 2 deletions.
  1. +6 −0 CONTRIBUTORS.md
  2. +2 −1 package.json
  3. +3 −1 template/locales/locale.js
  4. +25 −0 template/locales/nl.js
  5. +25 −0 template/locales/zh.js
View
@@ -2,6 +2,12 @@
Thanks to all people that help to make apiDoc better!
+* [大鼻子](https://github.com/wohugb)
+ * Add chinese translation (missing translations from google).
+
+* [kimhoo](https://github.com/kimhoo)
+ * Add dutch translation (missing translations from google).
+
* [Danny Olson](https://github.com/dbolson)
* Add Clojure parser.
View
@@ -20,7 +20,8 @@
},
"scripts": {
"test": "npm run jshint && mocha test/",
- "jshint": "jshint lib/ test/"
+ "jshint": "jshint lib/ test/",
+ "build-example": "bin/apidoc -i example/ -o tmp/"
},
"keywords": [
"api",
@@ -1,5 +1,7 @@
define([
- './locales/de.js'
+ './locales/de.js',
+ './locales/nl.js',
+ './locales/zh.js'
], function() {
var locales = {};
for(index in arguments) {
@@ -0,0 +1,25 @@
+define({
+ nl: {
+ 'Allowed values:' : 'Toegestane waarden:',
+ 'Compare all with predecessor': 'Vergelijk alle met voorgaande versie',
+ 'compare changes to:' : 'vergelijk veranderingen met:',
+ 'compared to' : 'vergelijk met',
+ 'Default value:' : 'Standaard waarde:',
+ 'Description' : 'Omschrijving',
+ 'Field' : 'Veld',
+ 'General' : 'Algemeen',
+ 'Generated with' : 'Gegenereerd met',
+ 'Name' : 'Naam',
+ 'No response values.' : 'Geen response waardes.',
+ 'optional' : 'optioneel',
+ 'Parameter' : 'Parameter',
+ 'Permission:' : 'Permissie:',
+ 'Response' : 'Antwoorden',
+ 'Send' : 'Sturen',
+ 'Send a Sample Request' : 'Stuur een sample aanvragen',
+ 'show up to version:' : 'toon tot en met versie:',
+ 'Size range:' : 'Maatbereik:',
+ 'Type' : 'Type',
+ 'url' : 'url'
+ }
+});
@@ -0,0 +1,25 @@
+define({
+ zh: {
+ 'Allowed values:' : '允許值:',
+ 'Compare all with predecessor': '预先比较所有',
+ 'compare changes to:' : '比较变更:',
+ 'compared to' : '对比',
+ 'Default value:' : '默认值:',
+ 'Description' : '描述',
+ 'Field' : '字段',
+ 'General' : '概括',
+ 'Generated with' : '生成工具',
+ 'Name' : '名称',
+ 'No response values.' : '无响应值.',
+ 'optional' : '选项',
+ 'Parameter' : '参数',
+ 'Permission:' : '允许:',
+ 'Response' : '響應',
+ 'Send' : '發送',
+ 'Send a Sample Request' : '發送樣品申請',
+ 'show up to version:' : '显示到版本:',
+ 'Size range:' : '尺寸範圍:',
+ 'Type' : '类型',
+ 'url' : '網址'
+ }
+});

0 comments on commit 71f88c3

Please sign in to comment.