Skip to content

Commit

Permalink
Merge branch 'language/vi_vn'
Browse files Browse the repository at this point in the history
  • Loading branch information
fuyutsuki committed Mar 30, 2021
2 parents de42c3b + 1842ce8 commit 29d3b5d
Show file tree
Hide file tree
Showing 9 changed files with 195 additions and 18 deletions.
9 changes: 8 additions & 1 deletion .github/changelogs/4.x/en_us.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,13 @@

## 4.0.x

### 4.0.1

#### :globe_with_meridians: More i18n

- Translated by @TobyDev265: Added Vietnamese


### 4.0.0

#### :sparkles: New Features
Expand All @@ -10,7 +17,7 @@

- Introduced a variable that can be inserted into FloatingTexts.
The notation is same as Mineflow; `{variable_name}`.
- Requires [MineFlow >= 1.3](https://poggit.pmmp.io/p/Mineflow).
- Requires [MineFlow >= 2.0](https://poggit.pmmp.io/p/Mineflow).
- It can handle [some variables](/README.md#variables) of Mineflow.
- Manipulation of floating characters using Mineflow may be implemented in 4.1 or later if requested.

Expand Down
9 changes: 8 additions & 1 deletion .github/changelogs/4.x/ja_jp.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,13 @@

## 4.0.x

### 4.0.1

#### :globe_with_meridians: 国際化

- @TobyDev265による翻訳: ベトナム語 を追加しました


### 4.0.0

#### ✨ 新機能
Expand All @@ -10,7 +17,7 @@

- 浮き文字に挿入できる変数を導入しました
記法はMineflowと同様、`{変数名}`です。
- [MineFlow >= 1.3](https://poggit.pmmp.io/p/Mineflow) が必要です。
- [MineFlow >= 2.0](https://poggit.pmmp.io/p/Mineflow) が必要です。
- Mineflowの[一部の変数](/.github/readme/ja_jp.md#変数)を扱うことが出来ます。
- Mineflowを用いた浮き文字の操作は要望があれば4.1以降に実装するかもしれません。

Expand Down
21 changes: 11 additions & 10 deletions .github/readme/ja_jp.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@ Texterは複数ワールドに対応した、FloatingText(浮き文字)の追加
-->

他の言語:
[English](/README.md)
- [English](/README.md)
- [Tiếng Việt](/.github/readme/vi_vn.md)


:inbox_tray: ダウンロード
Expand Down Expand Up @@ -61,7 +62,7 @@ Texterは複数ワールドに対応した、FloatingText(浮き文字)の追加
|`date`|string||
|`default_world`|string||
|`player`|Player|[Mineflow#Player](https://github.com/aieuo/Mineflow#player)|
|`ft`|FloatingText|`name(string), pos(Position), spacing(Position)`|
|`ft`|FloatingText|`name(string), pos(Vector3), spacing(Vector3), texts(list)`|


:symbols: 言語
Expand All @@ -74,11 +75,11 @@ Texterは複数ワールドに対応した、FloatingText(浮き文字)の追加

他言語のPRを歓迎します!

- [x] en_us(英語)
- [ ] id_id(インドネシア語)
- [x] ja_jp(日本語)
- [ ] ko_kr(韓国語)
- [ ] ru_ru(ロシア語)
- [ ] tr_tr(トルコ語)
- [ ] zh_cn(中国語/簡体)

- [x] en_us(英語)
- [ ] id_id(インドネシア語)
- [x] ja_jp(日本語)
- [ ] ko_kr(韓国語)
- [ ] ru_ru(ロシア語)
- [ ] tr_tr(トルコ語)
- [ ] zh_cn(中国語/簡体)
- [x] vi_vn(ベトナム語)
85 changes: 85 additions & 0 deletions .github/readme/vi_vn.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,85 @@
<div align="center">

<img src="/assets/Texter.png" width="600px">

<h1>Texter</h1>

Texter là plugin cho [PocketMine-MP](https://github.com/pmmp/PocketMine-MP) hỗ trợ nhiều thế giới và cho phép tạo, xóa, di chuyển, chỉnh sửa các chữ nổi.

[![GitHub](https://img.shields.io/github/license/fuyutsuki/Texter?style=flat-square)](https://github.com/fuyutsuki/Texter/blob/master/LICENSE)
[![](https://poggit.pmmp.io/shield.state/Texter&style=flat-square)](https://poggit.pmmp.io/p/Texter)
[![](https://poggit.pmmp.io/shield.api/Texter&style=flat-square)](https://poggit.pmmp.io/p/Texter)

[![](https://poggit.pmmp.io/shield.dl/Texter&style=flat-square)](https://poggit.pmmp.io/p/Texter) / [![](https://poggit.pmmp.io/shield.dl.total/Texter&style=flat-square)](https://poggit.pmmp.io/p/Texter)

[![PoggitCI Badge](https://poggit.pmmp.io/ci.badge/fuyutsuki/Texter/Texter)](https://poggit.pmmp.io/ci/fuyutsuki/Texter/Texter)

</div>

***

<!--
**This branch is under development. It may contain many bugs.**
-->

Ngôn ngữ khác:
- [English](/README.md)
- [日本語](/.github/readme/ja_jp.md)


:inbox_tray: Tải về
-----------------------------------------

* [Poggit](https://poggit.pmmp.io/p/Texter)


:sparkles: Tính năng
-----------------------------------------

#### Lệnh

Tất cả các lệnh điều có quyền đặt thành `texter.command.txt` (chỉ dành cho OP).

| \ |Lệnh|Lệnh tắt|Cách dùng|
|:--:|:--:|:--:|:--|
|Thêm chữ|`/txt add`|`/txt a`|`/txt add [name] [text]`|
|Chỉnh sửa chữ|`/txt edit`|`/txt e`|`/txt edit [name] [text]`|
|Di chuyển chữ|`/txt move`|`/txt m`|`/txt move [name] [here\|x y z]`|
|Xóa chữ|`/txt remove`|`/txt r`|`/txt remove [name]`|
|help|`/txt`||`/txt`|

**Vui lòng thêm `#` để xuống hàng**.

#### Biến

Nếu bạn đã tải [Mineflow >= 2.0](https://poggit.pmmp.io/p/Mineflow), bạn có thể thêm biến vào chữ nổi.

|Tên|Kiểu dữ liệu|Có sẵn|
|:----|:-|:----------------|
|`server_name`|string||
|`microtime`|number||
|`time`|string||
|`date`|string||
|`default_world`|string||
|`player`|Player|[Mineflow#Player](https://github.com/aieuo/Mineflow#player)|
|`ft`|FloatingText|`name(string), pos(Position without world), spacing(Position without world)`|


:symbols: Ngôn ngữ
-----------------------------------------

Bạn có thể đổi ngôn ngữ trong bảng điều khiển (console) bằng cách chỉnh sửa `locale` trong [config.yml](/resources/config.yml).
Các ngôn ngữ được hỗ trợ sẽ được dịch tự động theo cài đặt ngôn ngữ của mỗi người chơi

#### Trạng thái hỗ trợ

PR luôn được mở!

- [x] en_us(Tiếng Anh)
- [ ] id_id(Tiếng In-đô-nê-xi-a)
- [x] ja_jp(Tiếng Nhật)
- [ ] ko_kr(Tiếng Hàng)
- [ ] ru_ru(Tiếng Nga)
- [ ] tr_tr(Tiếng Thủ Nhĩ Kỳ)
- [ ] zh_cn(Tiếng Trung Quốc)
- [x] vi_vn(Tiếng Việt)
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,6 @@
/language
/config.yml
/crfts.json
/fts.json
/fts.json
/uft.json
/ft.json
8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@ Texter is a plugin for [PocketMine-MP](https://github.com/pmmp/PocketMine-MP) th
-->

Other languages:
[日本語](/.github/readme/ja_jp.md)
- [日本語](/.github/readme/ja_jp.md)
- [Tiếng Việt](/.github/readme/vi_vn.md)


:inbox_tray: Download
Expand Down Expand Up @@ -61,7 +62,7 @@ If you have installed [Mineflow >= 2.0](https://poggit.pmmp.io/p/Mineflow), you
|`date`|string||
|`default_world`|string||
|`player`|Player|[Mineflow#Player](https://github.com/aieuo/Mineflow#player)|
|`ft`|FloatingText|`name(string), pos(Position without world), spacing(Position without world)`|
|`ft`|FloatingText|`name(string), pos(Vector3), spacing(Vector3), texts(list)`|


:symbols: Language
Expand All @@ -80,4 +81,5 @@ PR in other languages is welcome!
- [ ] ko_kr(Korean)
- [ ] ru_ru(Russian)
- [ ] tr_tr(Turkish)
- [ ] zh_cn(Chinese/Simplified)
- [ ] zh_cn(Chinese/Simplified)
- [x] vi_vn(Vietnamese)
3 changes: 2 additions & 1 deletion plugin.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Texter
prefix: Texter
main: jp\mcbe\fuyutsuki\Texter\Main
version: 4.0.0
version: 4.0.1
api: 3.15.0 # pmmp/PocketMine-MP
mcpe-protocol:
- 408 # 1.16.20
Expand Down Expand Up @@ -31,6 +31,7 @@ authors:
- SuperAdam47 # Turkish translation
- minijaham # Korean translation
- VicoSilalahi # Indonesian translation
- TobyDev265 # Vietnamese translation
website: https://github.com/fuyutsuki/Texter

permissions:
Expand Down
2 changes: 1 addition & 1 deletion resources/config.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Texter config file

# set language (en_us, id_id, ja_jp, ko_kr, ru_ru, tr_tr, zh_cn)
# set language (en_us, id_id, ja_jp, ko_kr, ru_ru, tr_tr, zh_cn, vi_vn)
locale: en_us

# When set to true, update notification is displayed at startup
Expand Down
72 changes: 72 additions & 0 deletions resources/language/vi_vn.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
; Language file compatible with Minecraft: Bedrock Edition identifiers
;
; A message doesn't need to be there to be shown correctly on the client.
; Only messages shown in Texter itself need to be here.
; This language translated by @TobyDev265
language.name=Tiếng Việt
language.selected=Đã chọn {%0} ({%1}) là ngôn ngữ mặc định

on.load.commands.on=Lệnh đã được bật
on.load.commands.off=Lệnh đã bị tắt
on.load.version.dev=Đây là phiên bản thử nghiệm nên sẽ có rất nhiều lỗi
on.load.update.nothing=Phiên bản mới nhất: v{%0} / Không có cập nhật
on.load.update.available.1=Phiên bản mới nhất: v{%0} / Phiên bản hiện tại: v{%1}
on.load.update.available.2=Có cập nhật
on.load.update.available.3=URL: {%0}
on.load.update.offline=Mạng Internet bị lỗi nên chúng tôi không thể kiểm tra bản cập nhật có hay không
on.load.is.updater=Tệp config.yml đã được chỉnh sửa. Vui lòng khởi động lại máy chủ!
on.load.old.format.converting=Chuyển đổi định dạng tệp cũ: {%0} sang định dạng mới...

on.enable.prepared="{%0}"'s FloatingText: {%1} đã được tạo
command.txt.description=Điều khiển chữ nổi
command.txt.usage=/txt <a(dd)|e(dit)|m(ove)|r(emove)|l(ist)>
command.txt.usage.new.line=Vui lòng thêm §6\# §fnếu bạn muốn xuống hàng.
command.txt.add.usage=/txt a(dd) [tên] [chữ]
command.txt.add.success=FloatingText: Đã tạo "{%0}"
command.txt.edit=/txt edit [tên]
command.txt.edit.success=FloatingText: Đã chỉnh sửa "{%0}"
command.txt.move=/txt move [tên] [tử đây|x y z]
command.txt.move.success=FloatingText: đã duy chuyển "{%0}" đến {%1}
command.txt.remove=/txt remove <tên>
command.txt.remove.success=FloatingText: đã xóa "{%0}"
form.ftname=Tên của chữ nổi
form.ftname.unique=Tên của chữ nổi(duy nhất)
form.add.description=Thêm chữ nổi vào thế giới.
form.add.more.ft=Thêm nhiều chữ nổi
form.add.spacing.description=Khoảng cách giữa các chữ nổi có thể chỉ định bằng tọa độ, -0.3 của Y là khoảng cách giữa các dòng.
form.add.spacing.x=khoảng cách(X)
form.add.spacing.y=khoảng cách(Y)
form.add.spacing.z=khoảng cách(Z)
form.add.text=chữ #{%0}
form.add.error.no.texts=Bạn có thể thêm chữ nổi khi có ít nhất 1 kí tự.
form.edit=Chỉnh sửa
form.edit.description=Chỉnh sửa chữ nỗi
form.move=Di chuyển
form.move.description=Di chuyển chữ nổi
form.move.here=Vị trí hiện tại
form.move.position=Vị trí được chỉ định
form.move.position.description=Di chuyển chữ nổi đến một vị trí đã được chỉ định.
form.move.position.x=X
form.move.position.y=Y
form.move.position.z=Z
form.move.position.error.is.not.valid=Tọa độ mà bạn chỉ định không thể xác định
form.move.select.target.description=Bạn có thể chọn nơi mà chữ nổi được di chuyển. Nếu bạn chọn "toạ độ của bạn", chữ nổi sẽ di chuyển đến nơi đó.
form.remove=Xóa
form.remove.description=Xóa chữ nổi
form.list.description.1=Liệt kê các chữ nổi có thể chỉnh sửa trong vòng 10 khối từ khoảng cách đường thẳng từ bạn.\nNếu không, sẽ không có gì được hiển thị.
form.list.description.2=Tên của chữ nổi được chỉ định: {%0}\nVui lòng chọn thao tác cần thực hiện.
error.on.enable.not.packaged=Vui lòng dùng tệp có định dạng Phar có thể tải từ PoggitCI (https://poggit.pmmp.io/p/Texter).
error.on.enable.not.found.libformapi=Không thể tìm thấy libFormAPI trong thư mục virions. Vui lòng tải libFormAPI.
error.ft.name.not.specified=Tên của chữ nổi không được ghi rõ
error.ft.name.exists=Chữ nổi có tên: {%0} đã được dùng.
error.ft.name.not.exists=Không có chữ nổi nào có tên: {%0}.
error.config.limit.char=Các chữ cái của chữ nổi phải lớn hơn hoặc bằng {%0}.
error.config.limit.feed=Các hàng của chữ nổi phải là {%0} hoặc ít hơn.
error.config.limit.world=Thế giới: {%0} đã tắt tính năng chỉnh sửa chữ nổi.
error.permission=Bạn không có quyền để chỉnh sửa chữ nổi.
error.console=Vui lòng dùng trong game
error.player=Vui lòng dùng trong bảng điều khiển (console)

0 comments on commit 29d3b5d

Please sign in to comment.