Skip to content

Commit

Permalink
⬆️ Support Ghost V5
Browse files Browse the repository at this point in the history
  • Loading branch information
huangyuzhang committed May 16, 2023
1 parent 351dd86 commit 2279e36
Show file tree
Hide file tree
Showing 6 changed files with 29 additions and 27 deletions.
4 changes: 3 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# CHANGELOG

## v.1.3.4
## v1.3.5
- ⬆️ Support Ghost V5
## v1.3.4
- 🐛 fixed header

## v1.3.3
Expand Down
21 changes: 11 additions & 10 deletions README-zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,16 +40,17 @@
### :earth_africa: 多语言支持
你可以在 Ghost 后台 -> General -> "Publication Language" 更换主题展示的语言。简体中文已经翻译,直接配置里写`zh_CN`即可。

| 代码 | 语言 | 翻译状态 | 译者 |
| :-----: | :------: | :------: | :--: |
| `de` | 德语 | ✔️ |[Marek Schmidt](https://github.com/MSDev201)|
| `en` | 英语 | ✔️ ||
| `fr` | 法语 | ✔️ |[Lourys](https://github.com/Lourys)|
| `it` | 意大利语| ✔️ |[Pyrox](https://github.com/Pyr0x1)|
| `pt_BR` | 葡萄牙语(巴西) | ✔️ |[matheusvanzan](https://github.com/matheusvanzan)|
| `ta` | 泰米尔语 | ✔️ | [MC Naveen](https://github.com/the-mcnaveen) |
| `tr` | 土耳其语 | ✔️ |[talut](https://github.com/talut)|
| `zh_CN` | 简体中文 | ✔️ ||
| 代码 | 语言 | 翻译状态 | 译者 |
| :-----: | :--------------: | :------: | :-----------------------------------------------: |
| `de` | 德语 || [Marek Schmidt](https://github.com/MSDev201) |
| `en` | 英语 || |
| `fr` | 法语 || [Lourys](https://github.com/Lourys) |
| `it` | 意大利语 || [Pyrox](https://github.com/Pyr0x1) |
| `pt_BR` | 葡萄牙语(巴西) || [matheusvanzan](https://github.com/matheusvanzan) |
| `ta` | 泰米尔语 || [MC Naveen](https://github.com/the-mcnaveen) |
| `th` | 泰语 || [atbee](https://github.com/atbee) |
| `tr` | 土耳其语 || [talut](https://github.com/talut) |
| `zh_CN` | 简体中文 || |

请帮助我们翻译主题语言。首先请fork本项目,然后复制`locales`文件夹中的`en.json`并重命名为目标语言, 如西班牙语:`es.json`,并打开文件翻译内容。测试之后请提交 Pull Request 到 `dev` 分支。

Expand Down
22 changes: 11 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,17 +40,17 @@ If **site logo** is uploaded, then the Logo area will only display the **site lo
### :earth_africa: i18n
You can change the theme's language in Ghost Admin -> General -> "Publication Language".

| Code | Language | Status | Translator |
| :-----: | :------: | :----: | :--: |
| `de` | German | ✔️ |[Marek Schmidt](https://github.com/MSDev201)|
| `en` | English | ✔️ ||
| `fr` | French | ✔️ |[Lourys](https://github.com/Lourys)|
| `it` | Italian| ✔️ |[Pyrox](https://github.com/Pyr0x1)|
| `pt_BR` | Brazilian Portuguese | ✔️ |[matheusvanzan](https://github.com/matheusvanzan)|
| `ta` | Tamil | ✔️ | [MC Naveen](https://github.com/the-mcnaveen) |
| `th` | Thai | ✔️ | [atbee](https://github.com/atbee) |
| `tr` | Turkish | ✔️ |[talut](https://github.com/talut)|
| `zh_CN` | Chinese (Simplified) | ✔️ ||
| Code | Language | Status | Translator |
| :-----: | :------------------: | :----: | :-----------------------------------------------: |
| `de` | German | | [Marek Schmidt](https://github.com/MSDev201) |
| `en` | English | | |
| `fr` | French | | [Lourys](https://github.com/Lourys) |
| `it` | Italian | | [Pyrox](https://github.com/Pyr0x1) |
| `pt_BR` | Brazilian Portuguese | | [matheusvanzan](https://github.com/matheusvanzan) |
| `ta` | Tamil | | [MC Naveen](https://github.com/the-mcnaveen) |
| `th` | Thai | | [atbee](https://github.com/atbee) |
| `tr` | Turkish | | [talut](https://github.com/talut) |
| `zh_CN` | Chinese (Simplified) | | |


Please help to translate Fizzy into the languages you know. To do so, first fork this repo. Then you need to copy the `en.json` file under `locales` folder and rename it to your language code, e.g. `es.json`, `zh_TW.json`. Then modify the translations within it. After testing, please create a "Pull Request" to `dev` branch of this repo (not `master`).
Expand Down
2 changes: 1 addition & 1 deletion default.hbs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!DOCTYPE html>
<html lang="{{@site.lang}}" class="has-spaced-navbar-fixed-top">
<html lang="{{@site.locale}}" class="has-spaced-navbar-fixed-top">

<head>
{{!-- Document Settings --}}
Expand Down
5 changes: 2 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
{
"name": "fizzy",
"description": "A tasty blogging theme for Ghost.",
"version": "1.3.4",
"version": "1.3.5",
"author": {
"name": "Yuzhang Huang",
"email": "[email protected]"
},
"engines": {
"ghost": ">=3.0.0",
"ghost-api": "v3"
"ghost": ">=3.0.0"
},
"keywords": [
"ghost",
Expand Down
2 changes: 1 addition & 1 deletion partials/footer.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<script>
document.write(footer_text);
</script>
<br>Using <a href="https://fizzy.cc/fizzy-theme/" target="_blank" rel="noopener noreferrer"><strong>The Fizzy Theme</strong> v1.3.4</a> | Published with <a href="https://ghost.org/" target="_blank" rel="noopener noreferrer"><strong>Ghost</strong></a>
<br>Using <a href="https://fizzy.cc/fizzy-theme/" target="_blank" rel="noopener noreferrer"><strong>The Fizzy Theme</strong> v1.3.5</a> | Published with <a href="https://ghost.org/" target="_blank" rel="noopener noreferrer"><strong>Ghost</strong></a>
</p>
</div>
</footer>

0 comments on commit 2279e36

Please sign in to comment.