From a875df294885e590e6502bed008f797ba186cdb0 Mon Sep 17 00:00:00 2001 From: jazzi Date: Thu, 5 Jul 2018 22:40:38 +0800 Subject: add Simplified Chinese translation (#40) * add Simplified Chinese translation * Update README to include Simplified Chinese + bump package version --- README.md | 8 +++++--- i18n/zh.toml | 28 ++++++++++++++++++++++++++++ package.json | 2 +- 3 files changed, 34 insertions(+), 4 deletions(-) create mode 100644 i18n/zh.toml diff --git a/README.md b/README.md index fbbe817..e71e0db 100644 --- a/README.md +++ b/README.md @@ -32,9 +32,11 @@ The cover image URL is hard-coded, therefore to replace this add an image to the ### Supported Languages - - English - - Spanish - - French + - [English](https://github.com/curttimson/hugo-theme-massively/blob/master/i18n/en.toml) + - [French](https://github.com/curttimson/hugo-theme-massively/blob/master/i18n/fr.toml) + - [Simplified Chinese](https://github.com/curttimson/hugo-theme-massively/blob/master/i18n/zh.toml) + - [Spanish](https://github.com/curttimson/hugo-theme-massively/blob/master/i18n/es.toml) + ## Development diff --git a/i18n/zh.toml b/i18n/zh.toml new file mode 100644 index 0000000..099ccd1 --- /dev/null +++ b/i18n/zh.toml @@ -0,0 +1,28 @@ +[CONTACT_ADDRESS] + other = "地址" +[CONTACT_EMAIL] + other = "邮箱" +[CONTACT_FORM_FIELD_EMAIL] + other = "邮箱" +[CONTACT_FORM_FIELD_MESSAGE] + other = "信息" +[CONTACT_FORM_FIELD_NAME] + other = "姓名" +[CONTACT_FORM_SUBMIT_SEND_MESSAGE] + other = "发送信息" +[CONTACT_PHONE] + other = "电话" +[CONTACT_SOCIAL] + other = "社交媒体" +[COPYRIGHT_MESSAGE_1] + other = "Design: [HTML5 UP](https://html5up.net)" +[COPYRIGHT_MESSAGE_2] + other = "Hugo Port: [curttimson](https://curtistimson.co.uk)" +[INTRO_CONTINUE] + other = "继续" +[NAV_CONTACT] + other = "联系方式" +[PAGINATION_NEXT] + other = "下一页" +[PAGINATION_PREVIOUS] + other = "前一页" diff --git a/package.json b/package.json index db589b9..f4005a4 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "hugo-theme-massively", - "version": "3.0.0", + "version": "3.1.0", "description": "HTML5 UP theme Massively for Hugo", "main": "index.js", "scripts": { -- cgit v1.2.3