Compare commits
8 commits
Author | SHA1 | Date | |
---|---|---|---|
|
c5ab2d91b2 | ||
|
f9a65d035b | ||
|
7de30babf3 | ||
|
86b3a3df21 | ||
|
4ed0f8dd4e | ||
|
a5c8106010 | ||
|
78807d0feb | ||
|
3814bfbe0e |
|
@ -1,3 +0,0 @@
|
|||
# CHANGELOG
|
||||
|
||||
## SMARTPHONE 0.1.0 alpha
|
|
@ -1 +1,44 @@
|
|||
# CONTRIBUTING
|
||||
|
||||
To contribute to this project, simply follow these steps:
|
||||
|
||||
--------------------------------------------
|
||||
|
||||
## 1. Download the repository git of this ptoject.
|
||||
|
||||
````bash
|
||||
git clone https://gitlab.com/lunovox/computing.git
|
||||
````
|
||||
|
||||
--------------------------------------------
|
||||
|
||||
## 2. Contributing
|
||||
|
||||
Change the code as you see fit. But remember not to be debauched in code.
|
||||
|
||||
--------------------------------------------
|
||||
|
||||
## 3. Make a Patch File
|
||||
|
||||
Create '.patch' file to port your contribution to file.
|
||||
|
||||
````bash
|
||||
git format-patch <commitish_inicial>
|
||||
````
|
||||
ou
|
||||
|
||||
````bash
|
||||
git format-patch <commitish_inicial>..<commitish_final>
|
||||
````
|
||||
|
||||
This git command generates one or more files in the format ````0000-like-a-message-of-commit.patch````.
|
||||
|
||||
--------------------------------------------
|
||||
|
||||
## 4. Send your Patch File
|
||||
|
||||
Please post your contribution in the '[issues]' tab of this project's git repository. Or, if you prefer, send an email to <[lunovox@disroot.org]>.
|
||||
|
||||
--------------------------------------------
|
||||
[issues]:https://gitlab.com/lunovox/computing/-/issues
|
||||
[lunovox@disroot.org]:mailto:lunovox@disroot.org?subject=My%20contribution%20to%20the%20COMPUTING%20mod.
|
||||
|
|
50
README.md
|
@ -28,19 +28,6 @@ Badge: [![ContentDB_en_icon]][ContentDB_en_link] [![DownloadsCDB_en_icon]][Downl
|
|||
|
||||
-----------------------------------------
|
||||
|
||||
## 📀 **Mods with Apps:**
|
||||
|
||||
These mods are not mandatory. But, because they are integrated into the 'computing' mod, they extend the functionality.
|
||||
|
||||
| Mod Name | Descryption |
|
||||
| :--: | :-- |
|
||||
| [correio][mod_correio] | Add an app that allows you to read emails. |
|
||||
| [minertrade][mod_minertrade] | Add an app that allows you to carry out banking operations, with: balance, statement, and money transfers. |
|
||||
| [lunoschedule][mod_lunoschedule] | Add an app that displays a calendar with four seasons of 28 days each. |
|
||||
| [soundchat][mod_soundchat] | Add applications that allow you to: configure the chat sound (ideal for those with ADHD), view the conversation history (Ideal for those who play luanti/minetest on their cell phones), start a local chat (between players located close to each other on the map), start a private player-to-player chat with infinite distances). |
|
||||
|
||||
-----------------------------------------
|
||||
|
||||
## 🍰 **Recipes:**
|
||||
|
||||
### **Without 'components' mod:**
|
||||
|
@ -66,7 +53,7 @@ See more details in wiki:
|
|||
|
||||
## 👑 **Developers:**
|
||||
|
||||
* Lunovox Heavenfinder: [E-Mail](mailto:lunovox@disroot.org), [Social Web](https://qoto.org/@lunovox), [WebChat](https://cloud.disroot.org/call/9aa2t7ib), [XMPP](xmpp:lunovox@disroot.org?join), [Audio Conference](mumble:mumble.disroot.org), [More Contacts](https://libreplanet.org/wiki/User:Lunovox)
|
||||
* Lunovox Heavenfinder: [E-Mail](mailto:lunovox@disroot.org), [Social Web](https://qoto.org/@lunovox), [WebChat](https://cloud.disroot.org/call/9aa2t7ib), [XMPP](https://conversations.im/i/lunovox@disroot.org?omemo-sid-633434523=97fce936651d6c3a28ca303ad5955ea2f1ab57fd5cd0769f04aebef6dd4cba79), [More Contacts](https://libreplanet.org/wiki/User:Lunovox)
|
||||
|
||||
-----------------------------------------
|
||||
|
||||
|
@ -78,12 +65,6 @@ See more details in wiki:
|
|||
|
||||
-----------------------------------------
|
||||
|
||||
## 👄 **Translates:**
|
||||
|
||||
See more details in file: [locale/README.md]
|
||||
|
||||
-----------------------------------------
|
||||
|
||||
## ⚙️ **Settings:**
|
||||
|
||||
In **minetest.conf** file:
|
||||
|
@ -97,6 +78,31 @@ You don't need to do any of these presets mentioned below to make this mod work.
|
|||
|
||||
-----------------------------------------
|
||||
|
||||
## 👄 **Translates:**
|
||||
|
||||
See more details in file: [locale/README.md][read_internacionalizaton]
|
||||
|
||||
-----------------------------------------
|
||||
|
||||
## 📀 **Mods with Intregrated Apps:**
|
||||
|
||||
These mods are not mandatory. But, because they are integrated into the 'computing' mod, they extend the functionality.
|
||||
|
||||
| Mod Name | Descryption |
|
||||
| :--: | :-- |
|
||||
| [correio][mod_correio] | Add an app that allows you to read emails. |
|
||||
| [minertrade][mod_minertrade] | Add an app that allows you to carry out banking operations, with: balance, statement, and money transfers. |
|
||||
| [lunoschedule][mod_lunoschedule] | Add an app that displays a calendar with four seasons of 28 days each. |
|
||||
| [soundchat][mod_soundchat] | Add applications that allow you to: configure the chat sound (ideal for those with ADHD), view the conversation history (Ideal for those who play luanti/minetest on their cell phones), start a local chat (between players located close to each other on the map), start a private player-to-player chat with infinite distances). |
|
||||
|
||||
-----------------------------------------
|
||||
|
||||
## 📎 **API of Integration:**
|
||||
|
||||
See more details in file: [docs/API_Integration.md][read_api_integration]
|
||||
|
||||
-----------------------------------------
|
||||
|
||||
|
||||
[ContentDB_en_icon]:https://content.luanti.org/packages/Lunovox/computing/shields/title/
|
||||
[ContentDB_en_link]:https://content.luanti.org/packages/Lunovox/computing/
|
||||
|
@ -108,7 +114,6 @@ You don't need to do any of these presets mentioned below to make this mod work.
|
|||
[license_media_icon]:https://img.shields.io/static/v1?label=LICENSE%20MEDIA&message=CC%20BY-SA-4.0&color=yellow
|
||||
[license_media_link]:https://gitlab.com/lunovox/computing/-/raw/main/LICENSE_MEDIA.md
|
||||
|
||||
[locale/README.md]:https://gitlab.com/lunovox/computing/-/tree/main/locale?ref_type=heads
|
||||
[computing_icon]:https://gitlab.com/lunovox/computing/-/raw/main/textures/icon_computing.png
|
||||
[luanti_icon]:https://img.shields.io/static/v1?label=Luanti&message=Mod&color=brightgreen
|
||||
[luanti_link]:https://luanti.org
|
||||
|
@ -124,6 +129,9 @@ You don't need to do any of these presets mentioned below to make this mod work.
|
|||
[download_stable]:https://gitlab.com/lunovox/computing/-/tags
|
||||
[download_repository]:https://gitlab.com/lunovox/computing
|
||||
|
||||
[read_internacionalizaton]:https://gitlab.com/lunovox/computing/-/tree/main/locale?ref_type=heads
|
||||
[read_api_integration]:https://gitlab.com/lunovox/computing/-/blob/main/docs/API_Integration.md
|
||||
|
||||
[screenshot_general]:https://gitlab.com/lunovox/computing/-/raw/main/screenshot.png
|
||||
[screenshot_recipe_1]:https://gitlab.com/lunovox/computing/-/raw/main/textures/screenshot_recipe_1.png
|
||||
[screenshot_recipe_2]:https://gitlab.com/lunovox/computing/-/raw/main/textures/screenshot_recipe_2.png
|
||||
|
|
3
api.lua
|
@ -56,6 +56,7 @@ modComputing.add_app = function(appname, def)
|
|||
icon_descryption = def.icon_descryption,
|
||||
icon_type = def.icon_type,
|
||||
icon_image = def.icon_image,
|
||||
is_visible = def.is_visible or true,
|
||||
on_iconclick = def.on_iconclick,
|
||||
}
|
||||
return true
|
||||
|
@ -96,6 +97,7 @@ modComputing.add_app = function(appname, def)
|
|||
end
|
||||
|
||||
modComputing.add_test_apps = function()
|
||||
--[[
|
||||
if core.settings:get_bool(modComputing.modname..".debug") then
|
||||
modComputing.add_app("computing:btnMinetest", {
|
||||
icon_name = "btnMinetest",
|
||||
|
@ -142,6 +144,7 @@ modComputing.add_test_apps = function()
|
|||
end,
|
||||
})
|
||||
end
|
||||
--[[ ]]
|
||||
end
|
||||
|
||||
modComputing.get_appnames = function()
|
||||
|
|
111
docs/API_Integration.md
Normal file
|
@ -0,0 +1,111 @@
|
|||
# COMPUTING API
|
||||
|
||||
The 'COMPUTING API' provides methods needed for you to create your own 'computing apps' through your own mod.
|
||||
|
||||
-------------------------------------------
|
||||
|
||||
## Show Smartphone Screen
|
||||
|
||||
````lua
|
||||
modComputing.show_smartphone(player)
|
||||
````
|
||||
|
||||
-------------------------------------------
|
||||
|
||||
## Get Smartphone Background FormSpec
|
||||
|
||||
Can you add your own Fields on top of a smartphone background formspec.
|
||||
|
||||
### Syntaxe:
|
||||
|
||||
````lua
|
||||
modComputing.smartphone.getFormBackground()
|
||||
````
|
||||
|
||||
### Sample: Add 'Write your name' field
|
||||
````lua
|
||||
local playername = player:get_player_name()
|
||||
local formspec = ""
|
||||
..modComputing.smartphone.getFormBackground()
|
||||
.."field[1.00,2.25;4.5,0.5;txtName;Write your name;"..playername.."]"
|
||||
core.show_formspec(playername, "formMyModName", formspec)
|
||||
-- See more methods in: https://github.com/minetest/minetest/blob/master/doc/lua_api.md
|
||||
````
|
||||
|
||||
* formspec version = 6
|
||||
* formsoec width = 05.6
|
||||
* formsoec height = 10.0
|
||||
|
||||
|
||||
-------------------------------------------
|
||||
|
||||
## Adding an App from your Mod
|
||||
|
||||
### Syntaxe:
|
||||
````lua
|
||||
modComputing.add_app("<app_id>", {
|
||||
icon_name = "<app_button_name>",
|
||||
icon_type = "<button_type>", --types: button/button_exit
|
||||
icon_title = "<app_name>",
|
||||
icon_descryption = "<app_descryption>",
|
||||
icon_image = "<app_image>",
|
||||
is_visible = function(player)
|
||||
return true
|
||||
-- The button icon of app only is visible if return true.
|
||||
end,
|
||||
on_iconclick = function(clicker)
|
||||
-- Put here your functions!
|
||||
end,
|
||||
})
|
||||
````
|
||||
|
||||
### Sample 1: Hello World
|
||||
````lua
|
||||
if core.global_exists("modComputing") then
|
||||
modComputing.add_app("my_mod:app_hello_world", {
|
||||
icon_name = "btnShowAppHelloWorld",
|
||||
icon_type = "button",
|
||||
icon_title = "HELLO WORLD",
|
||||
icon_descryption = "This is a sample of 'hello world' app.",
|
||||
icon_image = "icon_app.png",
|
||||
on_iconclick = function(clicker)
|
||||
local playername = clicker:get_player_name()
|
||||
core.chat_send_player(playername,
|
||||
("The '%s' pressed '%s' button icon app!"):format(
|
||||
playername,
|
||||
btnShowAppHelloWorld
|
||||
)
|
||||
)
|
||||
-- Put more lines if you want!
|
||||
-- See more methods in: https://github.com/minetest/minetest/blob/master/doc/lua_api.md
|
||||
end,
|
||||
})
|
||||
end
|
||||
````
|
||||
|
||||
### Sample 2: Shut down of server.
|
||||
````lua
|
||||
if core.global_exists("modComputing") then
|
||||
modComputing.add_app("my_mod_app:btnShutdownServer", {
|
||||
icon_name = "btnShutdownServer",
|
||||
icon_type = "button_exit",
|
||||
icon_title = "SHUTDOWN",
|
||||
icon_descryption = "This is a sample of 'Shutdown Server' app.",
|
||||
icon_image = "icon_shutdown.png",
|
||||
is_visible = function(player)
|
||||
return core.check_player_privs(player, {server = true})
|
||||
end,
|
||||
on_iconclick = function(clicker)
|
||||
local playername = clicker:get_player_name()
|
||||
core.request_shutdown(
|
||||
("The administrator '%s' has requested that the server be shut down."):format(playername),
|
||||
false, --If reconnect
|
||||
60 --delay in seconds
|
||||
)
|
||||
-- See more methods in: https://github.com/minetest/minetest/blob/master/doc/lua_api.md
|
||||
end,
|
||||
})
|
||||
end
|
||||
````
|
||||
|
||||
-------------------------------------------
|
|
@ -19,8 +19,14 @@ modComputing.getTextClockBar = function()
|
|||
)
|
||||
end
|
||||
|
||||
modComputing.getFormSmartphone = function(player)
|
||||
local playername = player:get_player_name()
|
||||
modComputing.smartphone.getFormSpec = function(player)
|
||||
local formspec = ""
|
||||
..modComputing.smartphone.getFormBackground()
|
||||
..modComputing.smartphone.getAppListConteiner(player)
|
||||
return formspec
|
||||
end
|
||||
|
||||
modComputing.smartphone.getFormBackground = function()
|
||||
local formspec = ""
|
||||
.."formspec_version[6]"
|
||||
.."size["..(10*271/484)..",10.0,true]"
|
||||
|
@ -32,6 +38,12 @@ modComputing.getFormSmartphone = function(player)
|
|||
.."image[0,0;"..(10*271/484)..",10.0;text_smartphone_271x484.png;true]"
|
||||
.."style_type[label;font=mono;font_size=10;textcolor=#FFFFFF]"
|
||||
.."label[0.75,1.975;"..core.formspec_escape(modComputing.getTextClockBar()).."]"
|
||||
return formspec
|
||||
end
|
||||
|
||||
modComputing.smartphone.getAppListConteiner = function(player)
|
||||
local playername = player:get_player_name()
|
||||
local formspec = ""
|
||||
.."style_type[container;font=normal;font_size=7;textcolor=#FFFFFF]"
|
||||
--.."button_exit[0.75,2.50;1.5,1.5;btnClose;"..core.formspec_escape(modComputing.translate("Banana\nStore")).."]"
|
||||
|
||||
|
@ -56,16 +68,21 @@ modComputing.getFormSmartphone = function(player)
|
|||
local sizeButtonY = modComputing.smartphone.sizeButtonY
|
||||
|
||||
for k,v in pairs(appnames) do
|
||||
appsCount = appsCount + 1
|
||||
local apps = modComputing.get_apps()
|
||||
--modComputing.debug("apps = "..dump(apps) --[[, playername--]])
|
||||
local icon_name = apps[v].icon_name
|
||||
local icon_title = apps[v].icon_title
|
||||
local icon_descryption = apps[v].icon_descryption
|
||||
local icon_type = apps[v].icon_type
|
||||
local icon_image = apps[v].icon_image
|
||||
local on_iconclick = apps[v].on_iconclick
|
||||
local is_visible = apps[v].is_visible
|
||||
--modComputing.debug("apps = "..dump(apps) --[[, playername--]])
|
||||
--modComputing.debug("is_visible = "..dump(is_visible) --[[, playername--]])
|
||||
|
||||
if (type(is_visible)=="boolean" and is_visible == true)
|
||||
or (type(is_visible)=="function" and is_visible(player))
|
||||
then
|
||||
appsCount = appsCount + 1
|
||||
local page = math.floor((appsCount - 1) / (maxRow * maxCol)) --math.floor : arredonda sempre para menos
|
||||
if page == modComputing.show_page[playername] then
|
||||
local iconInPage = appsCount - math.floor(page * maxRow * maxCol)
|
||||
|
@ -110,7 +127,7 @@ modComputing.getFormSmartphone = function(player)
|
|||
..newToolTip..newAppButton..newAppLabel
|
||||
.."container_end[]"
|
||||
end --Final of: if page == modComputing.show_page[playername] then
|
||||
|
||||
end
|
||||
end --FONAL OF: for k,v in pairs(appnames) do
|
||||
|
||||
local maxPages = math.floor((appsCount - 1) / (maxRow * maxCol)) --math.floor : arredonda sempre para menos
|
||||
|
@ -169,7 +186,7 @@ end
|
|||
|
||||
modComputing.show_smartphone = function(player)
|
||||
local playername = player:get_player_name()
|
||||
core.show_formspec(playername, "frmSmartphone", modComputing.getFormSmartphone(player))
|
||||
core.show_formspec(playername, "frmSmartphone", modComputing.smartphone.getFormSpec(player))
|
||||
end
|
||||
|
||||
core.register_on_player_receive_fields(function(player, formname, fields)
|
||||
|
@ -215,8 +232,8 @@ core.register_craftitem("computing:smartphone", {
|
|||
"#00FF00", modComputing.translate("SMARTPHONE")
|
||||
).."\n"
|
||||
.."* "..modComputing.translate(
|
||||
"A mobile device that contains \n"
|
||||
.."several apps generated by \n"
|
||||
"A mobile device that contains @n"
|
||||
.."several apps generated by @n"
|
||||
.."integrating other mods."
|
||||
),
|
||||
inventory_image = "icon_smartphone_128x128.png",
|
||||
|
|
|
@ -1,20 +1,24 @@
|
|||
# textdomain: computing
|
||||
Sun=Dom
|
||||
Mon=Seg
|
||||
Tue=Ter
|
||||
Wed=Qua
|
||||
Thu=Qui
|
||||
@1, @2 @3=@1, @2 @3
|
||||
@1-@2=@2/@1
|
||||
A mobile device that contains @nseveral apps generated by @nintegrating other mods.=Um dispositivo móvel que contém @nvários aplicativos gerados pela @nintegração de outros mods.
|
||||
AUT=OUT
|
||||
BACK PAGE=PÁGINA ANTERIOR
|
||||
FAILURE=FALHA
|
||||
Fri=Sex
|
||||
Sat=Sáb
|
||||
Mon=Seg
|
||||
NEXT PAGE=PRÓXIMA PÁGINA
|
||||
Now this is the day @1°.=Agora este é o dia @1°.
|
||||
Page=PÁGINA
|
||||
SMARTPHONE=ESPERTOFONE
|
||||
SPR=PRI
|
||||
SUM=VER
|
||||
AUT=OUT
|
||||
WIN=INV
|
||||
@1-@2=@2/@1
|
||||
Now this is the day @1°.=Agora este é o dia @1°.
|
||||
FAILURE=FALHA
|
||||
Sat=Sáb
|
||||
Sun=Dom
|
||||
The maximum number of days is exactly '@1'!!!=O número máximo de dias é exatamente '@1'!!!
|
||||
Thu=Qui
|
||||
Tue=Ter
|
||||
WIN=INV
|
||||
Wed=Qua
|
||||
You do not have the '@1' privilege to execute this command!!!=Você não tem o privilégio '@1' para executar este comando!!!
|
||||
@1, @2 @3=@1, @2 @3
|
||||
msgid ""=Loja\nBanana
|
||||
SMARTPHONE=ESPERTOFONE
|
||||
smartphone=espertofone
|
||||
|
|
|
@ -1,20 +1,24 @@
|
|||
# textdomain: computing
|
||||
Sun=Dom
|
||||
Mon=Seg
|
||||
Tue=Ter
|
||||
Wed=Qua
|
||||
Thu=Qui
|
||||
@1, @2 @3=@1, @2 @3
|
||||
@1-@2=@2/@1
|
||||
A mobile device that contains @nseveral apps generated by @nintegrating other mods.=Um dispositivo móvel que contém @nvários aplicativos gerados pela @nintegração de outros mods.
|
||||
AUT=OUT
|
||||
BACK PAGE=PÁGINA ANTERIOR
|
||||
FAILURE=FALHA
|
||||
Fri=Sex
|
||||
Sat=Sáb
|
||||
Mon=Seg
|
||||
NEXT PAGE=PRÓXIMA PÁGINA
|
||||
Now this is the day @1°.=Agora este é o dia @1°.
|
||||
Page=PÁGINA
|
||||
SMARTPHONE=ESPERTOFONE
|
||||
SPR=PRI
|
||||
SUM=VER
|
||||
AUT=OUT
|
||||
WIN=INV
|
||||
@1-@2=@2/@1
|
||||
Now this is the day @1°.=Agora este é o dia @1°.
|
||||
FAILURE=FALHA
|
||||
Sat=Sáb
|
||||
Sun=Dom
|
||||
The maximum number of days is exactly '@1'!!!=O número máximo de dias é exatamente '@1'!!!
|
||||
Thu=Qui
|
||||
Tue=Ter
|
||||
WIN=INV
|
||||
Wed=Qua
|
||||
You do not have the '@1' privilege to execute this command!!!=Você não tem o privilégio '@1' para executar este comando!!!
|
||||
@1, @2 @3=@1, @2 @3
|
||||
msgid ""=Loja\nBanana
|
||||
SMARTPHONE=ESPERTOFONE
|
||||
smartphone=espertofone
|
||||
|
|
143
locale/pt.po
|
@ -7,7 +7,7 @@ msgid ""
|
|||
msgstr ""
|
||||
"Project-Id-Version: PACKAGE VERSION\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2024-11-18 18:29-0300\n"
|
||||
"POT-Creation-Date: 2024-11-22 13:35-0300\n"
|
||||
"PO-Revision-Date: 2024-11-18 18:29-0300\n"
|
||||
"Last-Translator: Automatically generated\n"
|
||||
"Language-Team: Lunovox Heavenfinder <lunovox@disroot.org>\n"
|
||||
|
@ -17,57 +17,30 @@ msgstr ""
|
|||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
|
||||
|
||||
#: api.lua:98
|
||||
msgid "Sun"
|
||||
msgstr "Dom"
|
||||
#: item_smartphone.lua:15
|
||||
msgid "@1, @2 @3"
|
||||
msgstr "@1, @2 @3"
|
||||
|
||||
#: api.lua:99
|
||||
msgid "Mon"
|
||||
msgstr "Seg"
|
||||
|
||||
#: api.lua:100
|
||||
msgid "Tue"
|
||||
msgstr "Ter"
|
||||
|
||||
#: api.lua:101
|
||||
msgid "Wed"
|
||||
msgstr "Qua"
|
||||
|
||||
#: api.lua:102
|
||||
msgid "Thu"
|
||||
msgstr "Qui"
|
||||
|
||||
#: api.lua:103
|
||||
msgid "Fri"
|
||||
msgstr "Sex"
|
||||
|
||||
#: api.lua:104
|
||||
msgid "Sat"
|
||||
msgstr "Sáb"
|
||||
|
||||
#: api.lua:130
|
||||
msgid "SPR"
|
||||
msgstr "PRI"
|
||||
|
||||
#: api.lua:131
|
||||
msgid "SUM"
|
||||
msgstr "VER"
|
||||
|
||||
#: api.lua:132
|
||||
msgid "AUT"
|
||||
msgstr "OUT"
|
||||
|
||||
#: api.lua:133
|
||||
msgid "WIN"
|
||||
msgstr "INV"
|
||||
|
||||
#: api.lua:138
|
||||
#: api.lua:216
|
||||
msgid "@1-@2"
|
||||
msgstr "@2/@1"
|
||||
|
||||
#: api.lua:158
|
||||
msgid "Now this is the day @1°."
|
||||
msgstr "Agora este é o dia @1°."
|
||||
#: item_smartphone.lua:218
|
||||
#, fuzzy
|
||||
msgid "A mobile device that contains @nseveral apps generated by @nintegrating other mods."
|
||||
msgstr "Um dispositivo móvel que contém @nvários aplicativos gerados pela @nintegração de outros mods."
|
||||
|
||||
#: api.lua:210
|
||||
msgid "AUT"
|
||||
msgstr "OUT"
|
||||
|
||||
#: item_smartphone.lua:121
|
||||
msgid "BACK PAGE"
|
||||
msgstr "PÁGINA ANTERIOR"
|
||||
|
||||
#: functions.lua:20 functions.lua:33
|
||||
msgid "FAILURE"
|
||||
msgstr "FALHA"
|
||||
|
||||
#: functions.lua:5
|
||||
msgid ""
|
||||
|
@ -77,28 +50,70 @@ msgstr ""
|
|||
"Força o calendário a pular um certo número de dias.\n"
|
||||
"Número máximo de 112 dias. Necessita do privilégio 'settime'."
|
||||
|
||||
#: functions.lua:20 functions.lua:33
|
||||
msgid "FAILURE"
|
||||
msgstr "FALHA"
|
||||
#: api.lua:181
|
||||
msgid "Fri"
|
||||
msgstr "Sex"
|
||||
|
||||
#: api.lua:177
|
||||
msgid "Mon"
|
||||
msgstr "Seg"
|
||||
|
||||
#: item_smartphone.lua:146
|
||||
msgid "NEXT PAGE"
|
||||
msgstr "PRÓXIMA PÁGINA"
|
||||
|
||||
#: api.lua:236
|
||||
msgid "Now this is the day @1°."
|
||||
msgstr "Agora este é o dia @1°."
|
||||
|
||||
#: item_smartphone.lua:138
|
||||
msgid "Page"
|
||||
msgstr "PÁGINA"
|
||||
|
||||
#: item_smartphone.lua:215
|
||||
msgid "SMARTPHONE"
|
||||
msgstr "ESPERTOFONE"
|
||||
|
||||
#: api.lua:208
|
||||
msgid "SPR"
|
||||
msgstr "PRI"
|
||||
|
||||
#: api.lua:209
|
||||
msgid "SUM"
|
||||
msgstr "VER"
|
||||
|
||||
#: api.lua:182
|
||||
msgid "Sat"
|
||||
msgstr "Sáb"
|
||||
|
||||
#: api.lua:176
|
||||
msgid "Sun"
|
||||
msgstr "Dom"
|
||||
|
||||
#: functions.lua:22
|
||||
msgid "The maximum number of days is exactly '@1'!!!"
|
||||
msgstr "O número máximo de dias é exatamente '@1'!!!"
|
||||
|
||||
#: api.lua:180
|
||||
msgid "Thu"
|
||||
msgstr "Qui"
|
||||
|
||||
#: api.lua:178
|
||||
msgid "Tue"
|
||||
msgstr "Ter"
|
||||
|
||||
#: api.lua:211
|
||||
msgid "WIN"
|
||||
msgstr "INV"
|
||||
|
||||
#: api.lua:179
|
||||
msgid "Wed"
|
||||
msgstr "Qua"
|
||||
|
||||
#: functions.lua:35
|
||||
msgid "You do not have the '@1' privilege to execute this command!!!"
|
||||
msgstr "Você não tem o privilégio '@1' para executar este comando!!!"
|
||||
|
||||
#: item_smartphone.lua:6
|
||||
msgid "@1, @2 @3"
|
||||
msgstr "@1, @2 @3"
|
||||
|
||||
#: item_smartphone.lua:23
|
||||
msgid ""
|
||||
"Banana\n"
|
||||
"Store"
|
||||
msgstr "Loja\nBanana"
|
||||
|
||||
#: item_smartphone.lua:34
|
||||
msgid "SMARTPHONE"
|
||||
msgstr "ESPERTOFONE"
|
||||
#: item_smartphone.lua:271
|
||||
msgid "smartphone"
|
||||
msgstr "espertofone"
|
||||
|
|
143
locale/pt_BR.po
|
@ -7,7 +7,7 @@ msgid ""
|
|||
msgstr ""
|
||||
"Project-Id-Version: PACKAGE VERSION\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2024-11-18 18:29-0300\n"
|
||||
"POT-Creation-Date: 2024-11-22 13:35-0300\n"
|
||||
"PO-Revision-Date: 2024-11-18 18:29-0300\n"
|
||||
"Last-Translator: Automatically generated\n"
|
||||
"Language-Team: Lunovox Heavenfinder <lunovox@disroot.org>\n"
|
||||
|
@ -17,57 +17,30 @@ msgstr ""
|
|||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
|
||||
|
||||
#: api.lua:98
|
||||
msgid "Sun"
|
||||
msgstr "Dom"
|
||||
#: item_smartphone.lua:15
|
||||
msgid "@1, @2 @3"
|
||||
msgstr "@1, @2 @3"
|
||||
|
||||
#: api.lua:99
|
||||
msgid "Mon"
|
||||
msgstr "Seg"
|
||||
|
||||
#: api.lua:100
|
||||
msgid "Tue"
|
||||
msgstr "Ter"
|
||||
|
||||
#: api.lua:101
|
||||
msgid "Wed"
|
||||
msgstr "Qua"
|
||||
|
||||
#: api.lua:102
|
||||
msgid "Thu"
|
||||
msgstr "Qui"
|
||||
|
||||
#: api.lua:103
|
||||
msgid "Fri"
|
||||
msgstr "Sex"
|
||||
|
||||
#: api.lua:104
|
||||
msgid "Sat"
|
||||
msgstr "Sáb"
|
||||
|
||||
#: api.lua:130
|
||||
msgid "SPR"
|
||||
msgstr "PRI"
|
||||
|
||||
#: api.lua:131
|
||||
msgid "SUM"
|
||||
msgstr "VER"
|
||||
|
||||
#: api.lua:132
|
||||
msgid "AUT"
|
||||
msgstr "OUT"
|
||||
|
||||
#: api.lua:133
|
||||
msgid "WIN"
|
||||
msgstr "INV"
|
||||
|
||||
#: api.lua:138
|
||||
#: api.lua:216
|
||||
msgid "@1-@2"
|
||||
msgstr "@2/@1"
|
||||
|
||||
#: api.lua:158
|
||||
msgid "Now this is the day @1°."
|
||||
msgstr "Agora este é o dia @1°."
|
||||
#: item_smartphone.lua:218
|
||||
#, fuzzy
|
||||
msgid "A mobile device that contains @nseveral apps generated by @nintegrating other mods."
|
||||
msgstr "Um dispositivo móvel que contém @nvários aplicativos gerados pela @nintegração de outros mods."
|
||||
|
||||
#: api.lua:210
|
||||
msgid "AUT"
|
||||
msgstr "OUT"
|
||||
|
||||
#: item_smartphone.lua:121
|
||||
msgid "BACK PAGE"
|
||||
msgstr "PÁGINA ANTERIOR"
|
||||
|
||||
#: functions.lua:20 functions.lua:33
|
||||
msgid "FAILURE"
|
||||
msgstr "FALHA"
|
||||
|
||||
#: functions.lua:5
|
||||
msgid ""
|
||||
|
@ -77,28 +50,70 @@ msgstr ""
|
|||
"Força o calendário a pular um certo número de dias.\n"
|
||||
"Número máximo de 112 dias. Necessita do privilégio 'settime'."
|
||||
|
||||
#: functions.lua:20 functions.lua:33
|
||||
msgid "FAILURE"
|
||||
msgstr "FALHA"
|
||||
#: api.lua:181
|
||||
msgid "Fri"
|
||||
msgstr "Sex"
|
||||
|
||||
#: api.lua:177
|
||||
msgid "Mon"
|
||||
msgstr "Seg"
|
||||
|
||||
#: item_smartphone.lua:146
|
||||
msgid "NEXT PAGE"
|
||||
msgstr "PRÓXIMA PÁGINA"
|
||||
|
||||
#: api.lua:236
|
||||
msgid "Now this is the day @1°."
|
||||
msgstr "Agora este é o dia @1°."
|
||||
|
||||
#: item_smartphone.lua:138
|
||||
msgid "Page"
|
||||
msgstr "PÁGINA"
|
||||
|
||||
#: item_smartphone.lua:215
|
||||
msgid "SMARTPHONE"
|
||||
msgstr "ESPERTOFONE"
|
||||
|
||||
#: api.lua:208
|
||||
msgid "SPR"
|
||||
msgstr "PRI"
|
||||
|
||||
#: api.lua:209
|
||||
msgid "SUM"
|
||||
msgstr "VER"
|
||||
|
||||
#: api.lua:182
|
||||
msgid "Sat"
|
||||
msgstr "Sáb"
|
||||
|
||||
#: api.lua:176
|
||||
msgid "Sun"
|
||||
msgstr "Dom"
|
||||
|
||||
#: functions.lua:22
|
||||
msgid "The maximum number of days is exactly '@1'!!!"
|
||||
msgstr "O número máximo de dias é exatamente '@1'!!!"
|
||||
|
||||
#: api.lua:180
|
||||
msgid "Thu"
|
||||
msgstr "Qui"
|
||||
|
||||
#: api.lua:178
|
||||
msgid "Tue"
|
||||
msgstr "Ter"
|
||||
|
||||
#: api.lua:211
|
||||
msgid "WIN"
|
||||
msgstr "INV"
|
||||
|
||||
#: api.lua:179
|
||||
msgid "Wed"
|
||||
msgstr "Qua"
|
||||
|
||||
#: functions.lua:35
|
||||
msgid "You do not have the '@1' privilege to execute this command!!!"
|
||||
msgstr "Você não tem o privilégio '@1' para executar este comando!!!"
|
||||
|
||||
#: item_smartphone.lua:6
|
||||
msgid "@1, @2 @3"
|
||||
msgstr "@1, @2 @3"
|
||||
|
||||
#: item_smartphone.lua:23
|
||||
msgid ""
|
||||
"Banana\n"
|
||||
"Store"
|
||||
msgstr "Loja\nBanana"
|
||||
|
||||
#: item_smartphone.lua:34
|
||||
msgid "SMARTPHONE"
|
||||
msgstr "ESPERTOFONE"
|
||||
#: item_smartphone.lua:271
|
||||
msgid "smartphone"
|
||||
msgstr "espertofone"
|
||||
|
|
|
@ -8,7 +8,7 @@ msgid ""
|
|||
msgstr ""
|
||||
"Project-Id-Version: PACKAGE VERSION\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2024-11-18 18:29-0300\n"
|
||||
"POT-Creation-Date: 2024-11-22 13:35-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"
|
||||
|
@ -17,55 +17,55 @@ msgstr ""
|
|||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
|
||||
#: api.lua:98
|
||||
#: api.lua:176
|
||||
msgid "Sun"
|
||||
msgstr ""
|
||||
|
||||
#: api.lua:99
|
||||
#: api.lua:177
|
||||
msgid "Mon"
|
||||
msgstr ""
|
||||
|
||||
#: api.lua:100
|
||||
#: api.lua:178
|
||||
msgid "Tue"
|
||||
msgstr ""
|
||||
|
||||
#: api.lua:101
|
||||
#: api.lua:179
|
||||
msgid "Wed"
|
||||
msgstr ""
|
||||
|
||||
#: api.lua:102
|
||||
#: api.lua:180
|
||||
msgid "Thu"
|
||||
msgstr ""
|
||||
|
||||
#: api.lua:103
|
||||
#: api.lua:181
|
||||
msgid "Fri"
|
||||
msgstr ""
|
||||
|
||||
#: api.lua:104
|
||||
#: api.lua:182
|
||||
msgid "Sat"
|
||||
msgstr ""
|
||||
|
||||
#: api.lua:130
|
||||
#: api.lua:208
|
||||
msgid "SPR"
|
||||
msgstr ""
|
||||
|
||||
#: api.lua:131
|
||||
#: api.lua:209
|
||||
msgid "SUM"
|
||||
msgstr ""
|
||||
|
||||
#: api.lua:132
|
||||
#: api.lua:210
|
||||
msgid "AUT"
|
||||
msgstr ""
|
||||
|
||||
#: api.lua:133
|
||||
#: api.lua:211
|
||||
msgid "WIN"
|
||||
msgstr ""
|
||||
|
||||
#: api.lua:138
|
||||
#: api.lua:216
|
||||
msgid "@1-@2"
|
||||
msgstr ""
|
||||
|
||||
#: api.lua:158
|
||||
#: api.lua:236
|
||||
msgid "Now this is the day @1°."
|
||||
msgstr ""
|
||||
|
||||
|
@ -87,16 +87,32 @@ msgstr ""
|
|||
msgid "You do not have the '@1' privilege to execute this command!!!"
|
||||
msgstr ""
|
||||
|
||||
#: item_smartphone.lua:6
|
||||
#: item_smartphone.lua:15
|
||||
msgid "@1, @2 @3"
|
||||
msgstr ""
|
||||
|
||||
#: item_smartphone.lua:23
|
||||
msgid ""
|
||||
"Banana\n"
|
||||
"Store"
|
||||
#: item_smartphone.lua:121
|
||||
msgid "BACK PAGE"
|
||||
msgstr ""
|
||||
|
||||
#: item_smartphone.lua:34
|
||||
#: item_smartphone.lua:138
|
||||
msgid "Page"
|
||||
msgstr ""
|
||||
|
||||
#: item_smartphone.lua:146
|
||||
msgid "NEXT PAGE"
|
||||
msgstr ""
|
||||
|
||||
#: item_smartphone.lua:215
|
||||
msgid "SMARTPHONE"
|
||||
msgstr ""
|
||||
|
||||
#: item_smartphone.lua:218
|
||||
msgid ""
|
||||
"A mobile device that contains @nseveral apps generated by @nintegrating "
|
||||
"other mods."
|
||||
msgstr ""
|
||||
|
||||
#: item_smartphone.lua:271
|
||||
msgid "smartphone"
|
||||
msgstr ""
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
"name": "computing",
|
||||
"title": "Computing",
|
||||
"type": "MOD",
|
||||
"version": "1.0.0",
|
||||
"version": "1.1.1",
|
||||
"dev_state":"BETA",
|
||||
"min_minetest_version": "5.7",
|
||||
"max_minetest_version": null,
|
||||
|
@ -12,8 +12,7 @@
|
|||
"email": "lunovox@disroot.org",
|
||||
"social web": "http:qoto.org/@lunovox",
|
||||
"webchat": "https://cloud.disroot.org/call/9aa2t7ib",
|
||||
"xmpp": "xmpp:lunovox@disroot.org?join",
|
||||
"mumble": "mumble:mumble.disroot.org",
|
||||
"xmpp": "https://conversations.im/i/lunovox@disroot.org?omemo-sid-633434523=97fce936651d6c3a28ca303ad5955ea2f1ab57fd5cd0769f04aebef6dd4cba79",
|
||||
"homepage": "https://libreplanet.org/wiki/User:Lunovox",
|
||||
"more contacts": "https://libreplanet.org/wiki/User:Lunovox",
|
||||
},
|
||||
|
@ -51,10 +50,10 @@
|
|||
"license": {
|
||||
"is_foss":true,
|
||||
"name":"GNU AGPL-3.0 or later",
|
||||
"url": "https://gitlab.com/lunovox/computing/-/raw/main/LICENSE_CODE.md",
|
||||
"url": "https://gitlab.com/lunovox/computing/-/blob/main/LICENSE_CODE.md",
|
||||
},
|
||||
"media_license": {
|
||||
"is_foss":false,
|
||||
"is_foss":true,
|
||||
"name":"CC BY-SA 4.0"
|
||||
"url":"https://gitlab.com/lunovox/computing/-/blob/main/LICENSE_MEDIA.md",
|
||||
},
|
||||
|
|
11
mod.conf
|
@ -1,18 +1,17 @@
|
|||
name = computing
|
||||
title = Computing
|
||||
description = Add multiple computing devices such as: Smartphones and Desktops. It supports several apps integrated by other mods.
|
||||
version = 1.0.0
|
||||
dev_state = ALPHA
|
||||
license = GNU AGPL-3.0
|
||||
media_license = CC BY-SA 4.0
|
||||
version = 1.1.1
|
||||
dev_state = BETA
|
||||
license = [GNU AGPL-3.0](https://gitlab.com/lunovox/computing/-/blob/main/LICENSE_CODE.md)
|
||||
media_license = [CC BY-SA 4.0](https://gitlab.com/lunovox/computing/-/blob/main/LICENSE_MEDIA.md)
|
||||
supported_games = minetest_game
|
||||
depends = default,keys
|
||||
optional_depends = components
|
||||
min_minetest_version = 5.7
|
||||
max_minetest_version =
|
||||
author = Lunovox Heavenfinder: [email](mailto:lunovox@disroot.org), [social web](http:qoto.org/@lunovox), [webchat](https://cloud.disroot.org/call/9aa2t7ib), [xmpp](xmpp:lunovox@disroot.org?join), [Mumble](mumble:mumble.disroot.org), [more contacts](https:libreplanet.org/wiki/User:Lunovox)
|
||||
author = Lunovox Heavenfinder: [E-Mail](mailto:lunovox@disroot.org), [Social Web](https://qoto.org/@lunovox), [WebChat](https://cloud.disroot.org/call/9aa2t7ib), [XMPP](https://conversations.im/i/lunovox@disroot.org?omemo-sid-633434523=97fce936651d6c3a28ca303ad5955ea2f1ab57fd5cd0769f04aebef6dd4cba79), [More Contacts](https://libreplanet.org/wiki/User:Lunovox)
|
||||
created = 2024-11-10 10:42:01
|
||||
update = 2024-11-21 22:11
|
||||
donate_url = https://liberapay.com/Lunovox/donate
|
||||
translation_url = https://gitlab.com/lunovox/computing/-/blob/main/locale/README.md
|
||||
repository = https://gitlab.com/lunovox/computing
|
||||
|
|
Before Width: | Height: | Size: 74 KiB After Width: | Height: | Size: 79 KiB |
Before Width: | Height: | Size: 123 KiB After Width: | Height: | Size: 130 KiB |
BIN
textures/text_background_banana_271x484.png
Normal file
After Width: | Height: | Size: 35 KiB |
BIN
textures/text_background_color_black_271x484.png
Normal file
After Width: | Height: | Size: 7.5 KiB |
BIN
textures/text_background_color_white_271x484.png
Normal file
After Width: | Height: | Size: 4.4 KiB |
BIN
textures/text_background_degrade_271x484.png
Normal file
After Width: | Height: | Size: 20 KiB |
BIN
textures/text_background_luanti_271x484.png
Normal file
After Width: | Height: | Size: 32 KiB |
BIN
textures/text_smartphone_background_271x484.png
Normal file
After Width: | Height: | Size: 42 KiB |