Compare commits

..

No commits in common. "main" and "1.0.0" have entirely different histories.
main ... 1.0.0

22 changed files with 262 additions and 493 deletions

3
CHANGELOG.md Normal file
View file

@ -0,0 +1,3 @@
# CHANGELOG
## SMARTPHONE 0.1.0 alpha

View file

@ -1,44 +1 @@
# CONTRIBUTING # 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.

View file

@ -28,6 +28,19 @@ 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:** ## 🍰 **Recipes:**
### **Without 'components' mod:** ### **Without 'components' mod:**
@ -53,7 +66,7 @@ See more details in wiki:
## 👑 **Developers:** ## 👑 **Developers:**
* 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) * 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)
----------------------------------------- -----------------------------------------
@ -65,6 +78,12 @@ See more details in wiki:
----------------------------------------- -----------------------------------------
## 👄 **Translates:**
See more details in file: [locale/README.md]
-----------------------------------------
## ⚙️ **Settings:** ## ⚙️ **Settings:**
In **minetest.conf** file: In **minetest.conf** file:
@ -78,31 +97,6 @@ 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_icon]:https://content.luanti.org/packages/Lunovox/computing/shields/title/
[ContentDB_en_link]:https://content.luanti.org/packages/Lunovox/computing/ [ContentDB_en_link]:https://content.luanti.org/packages/Lunovox/computing/
@ -114,6 +108,7 @@ See more details in file: [docs/API_Integration.md][read_api_integration]
[license_media_icon]:https://img.shields.io/static/v1?label=LICENSE%20MEDIA&message=CC%20BY-SA-4.0&color=yellow [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 [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 [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_icon]:https://img.shields.io/static/v1?label=Luanti&message=Mod&color=brightgreen
[luanti_link]:https://luanti.org [luanti_link]:https://luanti.org
@ -129,9 +124,6 @@ See more details in file: [docs/API_Integration.md][read_api_integration]
[download_stable]:https://gitlab.com/lunovox/computing/-/tags [download_stable]:https://gitlab.com/lunovox/computing/-/tags
[download_repository]:https://gitlab.com/lunovox/computing [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_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_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 [screenshot_recipe_2]:https://gitlab.com/lunovox/computing/-/raw/main/textures/screenshot_recipe_2.png

View file

@ -56,7 +56,6 @@ modComputing.add_app = function(appname, def)
icon_descryption = def.icon_descryption, icon_descryption = def.icon_descryption,
icon_type = def.icon_type, icon_type = def.icon_type,
icon_image = def.icon_image, icon_image = def.icon_image,
is_visible = def.is_visible or true,
on_iconclick = def.on_iconclick, on_iconclick = def.on_iconclick,
} }
return true return true
@ -97,7 +96,6 @@ modComputing.add_app = function(appname, def)
end end
modComputing.add_test_apps = function() modComputing.add_test_apps = function()
--[[
if core.settings:get_bool(modComputing.modname..".debug") then if core.settings:get_bool(modComputing.modname..".debug") then
modComputing.add_app("computing:btnMinetest", { modComputing.add_app("computing:btnMinetest", {
icon_name = "btnMinetest", icon_name = "btnMinetest",
@ -144,7 +142,6 @@ modComputing.add_test_apps = function()
end, end,
}) })
end end
--[[ ]]
end end
modComputing.get_appnames = function() modComputing.get_appnames = function()

View file

@ -1,111 +0,0 @@
# 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
````
-------------------------------------------

View file

@ -19,14 +19,8 @@ modComputing.getTextClockBar = function()
) )
end end
modComputing.smartphone.getFormSpec = function(player) modComputing.getFormSmartphone = function(player)
local formspec = "" local playername = player:get_player_name()
..modComputing.smartphone.getFormBackground()
..modComputing.smartphone.getAppListConteiner(player)
return formspec
end
modComputing.smartphone.getFormBackground = function()
local formspec = "" local formspec = ""
.."formspec_version[6]" .."formspec_version[6]"
.."size["..(10*271/484)..",10.0,true]" .."size["..(10*271/484)..",10.0,true]"
@ -38,12 +32,6 @@ modComputing.smartphone.getFormBackground = function()
.."image[0,0;"..(10*271/484)..",10.0;text_smartphone_271x484.png;true]" .."image[0,0;"..(10*271/484)..",10.0;text_smartphone_271x484.png;true]"
.."style_type[label;font=mono;font_size=10;textcolor=#FFFFFF]" .."style_type[label;font=mono;font_size=10;textcolor=#FFFFFF]"
.."label[0.75,1.975;"..core.formspec_escape(modComputing.getTextClockBar()).."]" .."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]" .."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")).."]" --.."button_exit[0.75,2.50;1.5,1.5;btnClose;"..core.formspec_escape(modComputing.translate("Banana\nStore")).."]"
@ -68,21 +56,16 @@ modComputing.smartphone.getAppListConteiner = function(player)
local sizeButtonY = modComputing.smartphone.sizeButtonY local sizeButtonY = modComputing.smartphone.sizeButtonY
for k,v in pairs(appnames) do for k,v in pairs(appnames) do
appsCount = appsCount + 1
local apps = modComputing.get_apps() local apps = modComputing.get_apps()
--modComputing.debug("apps = "..dump(apps) --[[, playername--]])
local icon_name = apps[v].icon_name local icon_name = apps[v].icon_name
local icon_title = apps[v].icon_title local icon_title = apps[v].icon_title
local icon_descryption = apps[v].icon_descryption local icon_descryption = apps[v].icon_descryption
local icon_type = apps[v].icon_type local icon_type = apps[v].icon_type
local icon_image = apps[v].icon_image local icon_image = apps[v].icon_image
local on_iconclick = apps[v].on_iconclick 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 local page = math.floor((appsCount - 1) / (maxRow * maxCol)) --math.floor : arredonda sempre para menos
if page == modComputing.show_page[playername] then if page == modComputing.show_page[playername] then
local iconInPage = appsCount - math.floor(page * maxRow * maxCol) local iconInPage = appsCount - math.floor(page * maxRow * maxCol)
@ -127,7 +110,7 @@ modComputing.smartphone.getAppListConteiner = function(player)
..newToolTip..newAppButton..newAppLabel ..newToolTip..newAppButton..newAppLabel
.."container_end[]" .."container_end[]"
end --Final of: if page == modComputing.show_page[playername] then end --Final of: if page == modComputing.show_page[playername] then
end
end --FONAL OF: for k,v in pairs(appnames) do end --FONAL OF: for k,v in pairs(appnames) do
local maxPages = math.floor((appsCount - 1) / (maxRow * maxCol)) --math.floor : arredonda sempre para menos local maxPages = math.floor((appsCount - 1) / (maxRow * maxCol)) --math.floor : arredonda sempre para menos
@ -186,7 +169,7 @@ end
modComputing.show_smartphone = function(player) modComputing.show_smartphone = function(player)
local playername = player:get_player_name() local playername = player:get_player_name()
core.show_formspec(playername, "frmSmartphone", modComputing.smartphone.getFormSpec(player)) core.show_formspec(playername, "frmSmartphone", modComputing.getFormSmartphone(player))
end end
core.register_on_player_receive_fields(function(player, formname, fields) core.register_on_player_receive_fields(function(player, formname, fields)
@ -232,8 +215,8 @@ core.register_craftitem("computing:smartphone", {
"#00FF00", modComputing.translate("SMARTPHONE") "#00FF00", modComputing.translate("SMARTPHONE")
).."\n" ).."\n"
.."* "..modComputing.translate( .."* "..modComputing.translate(
"A mobile device that contains @n" "A mobile device that contains \n"
.."several apps generated by @n" .."several apps generated by \n"
.."integrating other mods." .."integrating other mods."
), ),
inventory_image = "icon_smartphone_128x128.png", inventory_image = "icon_smartphone_128x128.png",

View file

@ -1,24 +1,20 @@
# textdomain: computing # textdomain: computing
@1, @2 @3=@1, @2 @3 Sun=Dom
@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
Mon=Seg Mon=Seg
NEXT PAGE=PRÓXIMA PÁGINA Tue=Ter
Now this is the day @1°.=Agora este é o dia @1°. Wed=Qua
Page=PÁGINA Thu=Qui
SMARTPHONE=ESPERTOFONE Fri=Sex
Sat=Sáb
SPR=PRI SPR=PRI
SUM=VER SUM=VER
Sat=Sáb AUT=OUT
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 WIN=INV
Wed=Qua @1-@2=@2/@1
Now this is the day @1°.=Agora este é o dia @1°.
FAILURE=FALHA
The maximum number of days is exactly '@1'!!!=O número máximo de dias é exatamente '@1'!!!
You do not have the '@1' privilege to execute this command!!!=Você não tem o privilégio '@1' para executar este comando!!! You do not have the '@1' privilege to execute this command!!!=Você não tem o privilégio '@1' para executar este comando!!!
smartphone=espertofone @1, @2 @3=@1, @2 @3
msgid ""=Loja\nBanana
SMARTPHONE=ESPERTOFONE

View file

@ -1,24 +1,20 @@
# textdomain: computing # textdomain: computing
@1, @2 @3=@1, @2 @3 Sun=Dom
@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
Mon=Seg Mon=Seg
NEXT PAGE=PRÓXIMA PÁGINA Tue=Ter
Now this is the day @1°.=Agora este é o dia @1°. Wed=Qua
Page=PÁGINA Thu=Qui
SMARTPHONE=ESPERTOFONE Fri=Sex
Sat=Sáb
SPR=PRI SPR=PRI
SUM=VER SUM=VER
Sat=Sáb AUT=OUT
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 WIN=INV
Wed=Qua @1-@2=@2/@1
Now this is the day @1°.=Agora este é o dia @1°.
FAILURE=FALHA
The maximum number of days is exactly '@1'!!!=O número máximo de dias é exatamente '@1'!!!
You do not have the '@1' privilege to execute this command!!!=Você não tem o privilégio '@1' para executar este comando!!! You do not have the '@1' privilege to execute this command!!!=Você não tem o privilégio '@1' para executar este comando!!!
smartphone=espertofone @1, @2 @3=@1, @2 @3
msgid ""=Loja\nBanana
SMARTPHONE=ESPERTOFONE

View file

@ -7,7 +7,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: PACKAGE VERSION\n" "Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-11-22 13:35-0300\n" "POT-Creation-Date: 2024-11-18 18:29-0300\n"
"PO-Revision-Date: 2024-11-18 18:29-0300\n" "PO-Revision-Date: 2024-11-18 18:29-0300\n"
"Last-Translator: Automatically generated\n" "Last-Translator: Automatically generated\n"
"Language-Team: Lunovox Heavenfinder <lunovox@disroot.org>\n" "Language-Team: Lunovox Heavenfinder <lunovox@disroot.org>\n"
@ -17,30 +17,57 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n > 1);\n" "Plural-Forms: nplurals=2; plural=(n > 1);\n"
#: item_smartphone.lua:15 #: api.lua:98
msgid "@1, @2 @3" msgid "Sun"
msgstr "@1, @2 @3" msgstr "Dom"
#: api.lua:216 #: api.lua:99
msgid "@1-@2" msgid "Mon"
msgstr "@2/@1" msgstr "Seg"
#: item_smartphone.lua:218 #: api.lua:100
#, fuzzy msgid "Tue"
msgid "A mobile device that contains @nseveral apps generated by @nintegrating other mods." msgstr "Ter"
msgstr "Um dispositivo móvel que contém @nvários aplicativos gerados pela @nintegração de outros mods."
#: api.lua:210 #: 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" msgid "AUT"
msgstr "OUT" msgstr "OUT"
#: item_smartphone.lua:121 #: api.lua:133
msgid "BACK PAGE" msgid "WIN"
msgstr "PÁGINA ANTERIOR" msgstr "INV"
#: functions.lua:20 functions.lua:33 #: api.lua:138
msgid "FAILURE" msgid "@1-@2"
msgstr "FALHA" msgstr "@2/@1"
#: api.lua:158
msgid "Now this is the day @1°."
msgstr "Agora este é o dia @1°."
#: functions.lua:5 #: functions.lua:5
msgid "" msgid ""
@ -50,70 +77,28 @@ msgstr ""
"Força o calendário a pular um certo número de dias.\n" "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'." "Número máximo de 112 dias. Necessita do privilégio 'settime'."
#: api.lua:181 #: functions.lua:20 functions.lua:33
msgid "Fri" msgid "FAILURE"
msgstr "Sex" msgstr "FALHA"
#: 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 #: functions.lua:22
msgid "The maximum number of days is exactly '@1'!!!" msgid "The maximum number of days is exactly '@1'!!!"
msgstr "O número máximo de dias é exatamente '@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 #: functions.lua:35
msgid "You do not have the '@1' privilege to execute this command!!!" 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!!!" msgstr "Você não tem o privilégio '@1' para executar este comando!!!"
#: item_smartphone.lua:271 #: item_smartphone.lua:6
msgid "smartphone" msgid "@1, @2 @3"
msgstr "espertofone" msgstr "@1, @2 @3"
#: item_smartphone.lua:23
msgid ""
"Banana\n"
"Store"
msgstr "Loja\nBanana"
#: item_smartphone.lua:34
msgid "SMARTPHONE"
msgstr "ESPERTOFONE"

View file

@ -7,7 +7,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: PACKAGE VERSION\n" "Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-11-22 13:35-0300\n" "POT-Creation-Date: 2024-11-18 18:29-0300\n"
"PO-Revision-Date: 2024-11-18 18:29-0300\n" "PO-Revision-Date: 2024-11-18 18:29-0300\n"
"Last-Translator: Automatically generated\n" "Last-Translator: Automatically generated\n"
"Language-Team: Lunovox Heavenfinder <lunovox@disroot.org>\n" "Language-Team: Lunovox Heavenfinder <lunovox@disroot.org>\n"
@ -17,30 +17,57 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n > 1);\n" "Plural-Forms: nplurals=2; plural=(n > 1);\n"
#: item_smartphone.lua:15 #: api.lua:98
msgid "@1, @2 @3" msgid "Sun"
msgstr "@1, @2 @3" msgstr "Dom"
#: api.lua:216 #: api.lua:99
msgid "@1-@2" msgid "Mon"
msgstr "@2/@1" msgstr "Seg"
#: item_smartphone.lua:218 #: api.lua:100
#, fuzzy msgid "Tue"
msgid "A mobile device that contains @nseveral apps generated by @nintegrating other mods." msgstr "Ter"
msgstr "Um dispositivo móvel que contém @nvários aplicativos gerados pela @nintegração de outros mods."
#: api.lua:210 #: 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" msgid "AUT"
msgstr "OUT" msgstr "OUT"
#: item_smartphone.lua:121 #: api.lua:133
msgid "BACK PAGE" msgid "WIN"
msgstr "PÁGINA ANTERIOR" msgstr "INV"
#: functions.lua:20 functions.lua:33 #: api.lua:138
msgid "FAILURE" msgid "@1-@2"
msgstr "FALHA" msgstr "@2/@1"
#: api.lua:158
msgid "Now this is the day @1°."
msgstr "Agora este é o dia @1°."
#: functions.lua:5 #: functions.lua:5
msgid "" msgid ""
@ -50,70 +77,28 @@ msgstr ""
"Força o calendário a pular um certo número de dias.\n" "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'." "Número máximo de 112 dias. Necessita do privilégio 'settime'."
#: api.lua:181 #: functions.lua:20 functions.lua:33
msgid "Fri" msgid "FAILURE"
msgstr "Sex" msgstr "FALHA"
#: 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 #: functions.lua:22
msgid "The maximum number of days is exactly '@1'!!!" msgid "The maximum number of days is exactly '@1'!!!"
msgstr "O número máximo de dias é exatamente '@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 #: functions.lua:35
msgid "You do not have the '@1' privilege to execute this command!!!" 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!!!" msgstr "Você não tem o privilégio '@1' para executar este comando!!!"
#: item_smartphone.lua:271 #: item_smartphone.lua:6
msgid "smartphone" msgid "@1, @2 @3"
msgstr "espertofone" msgstr "@1, @2 @3"
#: item_smartphone.lua:23
msgid ""
"Banana\n"
"Store"
msgstr "Loja\nBanana"
#: item_smartphone.lua:34
msgid "SMARTPHONE"
msgstr "ESPERTOFONE"

View file

@ -8,7 +8,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: PACKAGE VERSION\n" "Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-11-22 13:35-0300\n" "POT-Creation-Date: 2024-11-18 18:29-0300\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n" "Language-Team: LANGUAGE <LL@li.org>\n"
@ -17,55 +17,55 @@ msgstr ""
"Content-Type: text/plain; charset=UTF-8\n" "Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
#: api.lua:176 #: api.lua:98
msgid "Sun" msgid "Sun"
msgstr "" msgstr ""
#: api.lua:177 #: api.lua:99
msgid "Mon" msgid "Mon"
msgstr "" msgstr ""
#: api.lua:178 #: api.lua:100
msgid "Tue" msgid "Tue"
msgstr "" msgstr ""
#: api.lua:179 #: api.lua:101
msgid "Wed" msgid "Wed"
msgstr "" msgstr ""
#: api.lua:180 #: api.lua:102
msgid "Thu" msgid "Thu"
msgstr "" msgstr ""
#: api.lua:181 #: api.lua:103
msgid "Fri" msgid "Fri"
msgstr "" msgstr ""
#: api.lua:182 #: api.lua:104
msgid "Sat" msgid "Sat"
msgstr "" msgstr ""
#: api.lua:208 #: api.lua:130
msgid "SPR" msgid "SPR"
msgstr "" msgstr ""
#: api.lua:209 #: api.lua:131
msgid "SUM" msgid "SUM"
msgstr "" msgstr ""
#: api.lua:210 #: api.lua:132
msgid "AUT" msgid "AUT"
msgstr "" msgstr ""
#: api.lua:211 #: api.lua:133
msgid "WIN" msgid "WIN"
msgstr "" msgstr ""
#: api.lua:216 #: api.lua:138
msgid "@1-@2" msgid "@1-@2"
msgstr "" msgstr ""
#: api.lua:236 #: api.lua:158
msgid "Now this is the day @1°." msgid "Now this is the day @1°."
msgstr "" msgstr ""
@ -87,32 +87,16 @@ msgstr ""
msgid "You do not have the '@1' privilege to execute this command!!!" msgid "You do not have the '@1' privilege to execute this command!!!"
msgstr "" msgstr ""
#: item_smartphone.lua:15 #: item_smartphone.lua:6
msgid "@1, @2 @3" msgid "@1, @2 @3"
msgstr "" msgstr ""
#: item_smartphone.lua:121 #: item_smartphone.lua:23
msgid "BACK PAGE" msgid ""
"Banana\n"
"Store"
msgstr "" msgstr ""
#: item_smartphone.lua:138 #: item_smartphone.lua:34
msgid "Page"
msgstr ""
#: item_smartphone.lua:146
msgid "NEXT PAGE"
msgstr ""
#: item_smartphone.lua:215
msgid "SMARTPHONE" msgid "SMARTPHONE"
msgstr "" 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 ""

View file

@ -2,7 +2,7 @@
"name": "computing", "name": "computing",
"title": "Computing", "title": "Computing",
"type": "MOD", "type": "MOD",
"version": "1.1.1", "version": "1.0.0",
"dev_state":"BETA", "dev_state":"BETA",
"min_minetest_version": "5.7", "min_minetest_version": "5.7",
"max_minetest_version": null, "max_minetest_version": null,
@ -12,7 +12,8 @@
"email": "lunovox@disroot.org", "email": "lunovox@disroot.org",
"social web": "http:qoto.org/@lunovox", "social web": "http:qoto.org/@lunovox",
"webchat": "https://cloud.disroot.org/call/9aa2t7ib", "webchat": "https://cloud.disroot.org/call/9aa2t7ib",
"xmpp": "https://conversations.im/i/lunovox@disroot.org?omemo-sid-633434523=97fce936651d6c3a28ca303ad5955ea2f1ab57fd5cd0769f04aebef6dd4cba79", "xmpp": "xmpp:lunovox@disroot.org?join",
"mumble": "mumble:mumble.disroot.org",
"homepage": "https://libreplanet.org/wiki/User:Lunovox", "homepage": "https://libreplanet.org/wiki/User:Lunovox",
"more contacts": "https://libreplanet.org/wiki/User:Lunovox", "more contacts": "https://libreplanet.org/wiki/User:Lunovox",
}, },
@ -50,10 +51,10 @@
"license": { "license": {
"is_foss":true, "is_foss":true,
"name":"GNU AGPL-3.0 or later", "name":"GNU AGPL-3.0 or later",
"url": "https://gitlab.com/lunovox/computing/-/blob/main/LICENSE_CODE.md", "url": "https://gitlab.com/lunovox/computing/-/raw/main/LICENSE_CODE.md",
}, },
"media_license": { "media_license": {
"is_foss":true, "is_foss":false,
"name":"CC BY-SA 4.0" "name":"CC BY-SA 4.0"
"url":"https://gitlab.com/lunovox/computing/-/blob/main/LICENSE_MEDIA.md", "url":"https://gitlab.com/lunovox/computing/-/blob/main/LICENSE_MEDIA.md",
}, },

View file

@ -1,17 +1,18 @@
name = computing name = computing
title = Computing title = Computing
description = Add multiple computing devices such as: Smartphones and Desktops. It supports several apps integrated by other mods. description = Add multiple computing devices such as: Smartphones and Desktops. It supports several apps integrated by other mods.
version = 1.1.1 version = 1.0.0
dev_state = BETA dev_state = ALPHA
license = [GNU AGPL-3.0](https://gitlab.com/lunovox/computing/-/blob/main/LICENSE_CODE.md) license = GNU AGPL-3.0
media_license = [CC BY-SA 4.0](https://gitlab.com/lunovox/computing/-/blob/main/LICENSE_MEDIA.md) media_license = CC BY-SA 4.0
supported_games = minetest_game supported_games = minetest_game
depends = default,keys depends = default,keys
optional_depends = components optional_depends = components
min_minetest_version = 5.7 min_minetest_version = 5.7
max_minetest_version = max_minetest_version =
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) 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)
created = 2024-11-10 10:42:01 created = 2024-11-10 10:42:01
update = 2024-11-21 22:11
donate_url = https://liberapay.com/Lunovox/donate donate_url = https://liberapay.com/Lunovox/donate
translation_url = https://gitlab.com/lunovox/computing/-/blob/main/locale/README.md translation_url = https://gitlab.com/lunovox/computing/-/blob/main/locale/README.md
repository = https://gitlab.com/lunovox/computing repository = https://gitlab.com/lunovox/computing

Binary file not shown.

Before

Width:  |  Height:  |  Size: 79 KiB

After

Width:  |  Height:  |  Size: 74 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 130 KiB

After

Width:  |  Height:  |  Size: 123 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 35 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 32 KiB

Binary file not shown.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 42 KiB