Skip to content

Commit

Permalink
Template: Add chinese and dutch translations.
Browse files Browse the repository at this point in the history
  • Loading branch information
rottmann committed Dec 19, 2014
1 parent 3057d15 commit 71f88c3
Show file tree
Hide file tree
Showing 5 changed files with 61 additions and 2 deletions.
6 changes: 6 additions & 0 deletions CONTRIBUTORS.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
4 changes: 3 additions & 1 deletion template/locales/locale.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
define([
'./locales/de.js'
'./locales/de.js',
'./locales/nl.js',
'./locales/zh.js'
], function() {
var locales = {};
for(index in arguments) {
Expand Down
25 changes: 25 additions & 0 deletions template/locales/nl.js
Original file line number Diff line number Diff line change
@@ -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'
}
});
25 changes: 25 additions & 0 deletions template/locales/zh.js
Original file line number Diff line number Diff line change
@@ -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.