Sons do bloco! + API de Registro de Login + Comando /president

This commit is contained in:
Lunovox 2023-07-20 22:44:51 -03:00
parent 57129a99d5
commit 023de38b03
17 changed files with 288 additions and 18 deletions

Binary file not shown.

View file

@ -1,15 +1,15 @@
# TRANSLATES
Update: 2023-03-19
version of Readme: 1.5
Update: 2023-07-20
version of Readme: 1.6
-----
To generate file [template.pot], did use terminal command:
```bash
cd soundchat
xgettext -n *.lua -L Lua --force-po --keyword=modSoundChat.translate --from-code=UTF-8 -o ./locale/template.pot
cd eurn
xgettext -n *.lua -L Lua --force-po --keyword=modEUrn.translate --from-code=UTF-8 -o ./locale/template.pot
```
-----
@ -67,12 +67,12 @@ sudo apt-get install poedit
### Convert '.po' file to '.tr' file.
Translate Sample: [locale/soundchat.pt_BR.tr]
Translate Sample: [locale/eurn.pt_BR.tr]
```bash
$ cd ./locale/
$ lua5.3 po2tr.lua "soundchat" "pt_BR.po"
$ mv "pt_BR.tr" "soundchat.pt_BR.tr"
$ cat soundchat.pt_BR.tr | less
$ lua5.3 po2tr.lua "eurn" "pt_BR.po"
$ mv "pt_BR.tr" "eurn.pt_BR.tr"
$ cat eurn.pt_BR.tr | less
```
-----
@ -80,7 +80,7 @@ $ cat soundchat.pt_BR.tr | less
### Exemple of enable the brazilian portuguese language in minetest:
Translate Sample: `locale/soundchat.pt_BR.tr`
Translate Sample: `locale/eurn.pt_BR.tr`
To enable the translate to brazilian portuguese language, write "language = pt_BR" in file "minetest.conf". Or write the command ```/set -n language pt_BR``` in game chat, and run again the minetest game.
@ -88,7 +88,7 @@ To enable the translate to brazilian portuguese language, write "language = pt_B
### PLEASE SUBMIT YOUR NEW TRANSLATION TO THE DEVELOPERS OF THIS MOD THROUGH THE GIT PROJECT BELOW:
* `https://gitlab.com/lunovox/soundchat`
* `https://gitlab.com/lunovox/eurn`
----
@ -98,8 +98,8 @@ To enable the translate to brazilian portuguese language, write "language = pt_B
* https://gist.githubusercontent.com/mamchenkov/3690981/raw/8ebd48c2af20c893c164e8d5245d9450ad682104/update_translations.sh
* https://gitlab.com/4w/xtend/-/blob/master/xtend_default/tools/convert_po_file_to_tr_file/convert_po_file_to_tr_file.lua
[locale/pt_BR.po]:https://gitlab.com/lunovox/soundchat/-/raw/master/locale/pt_BR.po
[locale/soundchat.pt_BR.tr]:https://gitlab.com/lunovox/soundchat/-/raw/master/locale/soundchat.pt_BR.tr
[locale/pt_BR.po]:https://gitlab.com/lunovox/eurn/-/raw/master/locale/pt_BR.po
[locale/eurn.pt_BR.tr]:https://gitlab.com/lunovox/eurn/-/raw/master/locale/eurn.pt_BR.tr
[PoEdit]:https://poedit.net
[template.pot]:https://gitlab.com/lunovox/soundchat/-/raw/master/locale/template.pot
[template.pot]:https://gitlab.com/lunovox/eurn/-/raw/master/locale/template.pot

4
locale/eurn.pt_BR.tr Normal file
View file

@ -0,0 +1,4 @@
# textdomain: eurn
E-URN=URNA ELETRÔNICA
Colect opinion of player with electronic urn.=Colete a opinião do jogador com uma Urna Eletrônica.
Electronic Urn=Urna Eletrônica

32
locale/pt_BR.po Normal file
View file

@ -0,0 +1,32 @@
# Portuguese translations for PACKAGE package
# Traduções em português brasileiro para o pacote PACKAGE.
# Copyright (C) 2023 THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# Automatically generated, 2023.
#
msgid ""
msgstr ""
"Project-Id-Version: pt_BR 1.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-07-20 19:44-0300\n"
"PO-Revision-Date: 2023-07-20 19:59-0300\n"
"Last-Translator: Lunovox Heavenfinder <lunovox@disroot.org>\n"
"Language-Team: Lunovox Heavenfinder\n"
"Language: pt_BR\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
"X-Generator: Poedit 3.3.1\n"
#: item_eurn.lua:9
msgid "E-URN"
msgstr "URNA ELETRÔNICA"
#: item_eurn.lua:10
msgid "Colect opinion of player with electronic urn."
msgstr "Colete a opinião do jogador com uma Urna Eletrônica."
#: item_eurn.lua:36
msgid "Electronic Urn"
msgstr "Urna Eletrônica"

30
locale/template.pot Normal file
View file

@ -0,0 +1,30 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-07-20 19:44-0300\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"Language: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=CHARSET\n"
"Content-Transfer-Encoding: 8bit\n"
#: item_eurn.lua:9
msgid "E-URN"
msgstr ""
#: item_eurn.lua:10
msgid "Colect opinion of player with electronic urn."
msgstr ""
#: item_eurn.lua:36
msgid "Electronic Urn"
msgstr ""