7 Commits

Author SHA1 Message Date
564cb11ba6 Add description and dependencies to mod.conf
The legacy `depends.txt` and `description.txt` files are no longer
needed since Minetest 5.0.0 or later will read everything from
`mod.conf`.

This raises the minimum supported Minetest version to 5.0.0.
2019-04-23 21:54:14 +02:00
34d096832c Remove the optional mod loading message 2019-04-03 00:19:05 +02:00
8cd2d3de89 Travis CI: Add Luacheck to the PATH 2019-04-01 11:46:29 +02:00
cea44dce57 Use Luacheck as a pre-commit hook 2019-04-01 11:02:31 +02:00
1075b4678f Update the changelog for the new Polish translation 2019-04-01 11:01:32 +02:00
ead1f1d82d Polish translation (#32) 2019-04-01 10:59:22 +02:00
7ed6ffe7a7 Add intllib as an optional dependency
This addresses #9.
2019-03-30 00:56:06 +01:00
8 changed files with 39 additions and 9 deletions

View File

@ -7,3 +7,8 @@ repos:
- id: mixed-line-ending
args: [--fix=lf]
- repo: https://github.com/Calinou/pre-commit-luacheck
rev: v1.0.0
hooks:
- id: luacheck

View File

@ -11,5 +11,6 @@ install:
- luarocks install --local luacheck
script:
# All linters are run with pre-commit hooks
- export PATH="$HOME/.luarocks/bin:$PATH"
- $HOME/.local/bin/pre-commit run --all-files
- $HOME/.luarocks/bin/luacheck .

View File

@ -7,6 +7,14 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
## [Unreleased]
### Added
- Polish translation.
### Changed
- The minimum supported Minetest version is now 5.0.0.
## [1.1.0] - 2019-03-23
### Added

View File

@ -1,3 +0,0 @@
default
mg?
farming?

View File

@ -1 +0,0 @@
Adds new Ore types.

View File

@ -382,7 +382,3 @@ for orename, def in pairs(oredefs) do
-- Register everything
add_ore("moreores", def.description, orename, def)
end
if minetest.settings:get_bool("log_mods") then
minetest.log("action", S("[moreores] loaded."))
end

21
locale/pl.txt Normal file
View File

@ -0,0 +1,21 @@
# Translation by mat9117
[moreores] loaded. = [moreores] załadowano.
%s Ore = %Ruda
%s Lump = %Bryłka
%s Ingot = %Sztabka
%s Block = %sBlok
%s Pickaxe = %sKilof
%s Shovel = %sŁopatka
%s Axe = %sSiekiera
%s Sword = %sMiecz
Copper = Miedź
Tin = Cyna
Bronze = Brąz
Silver = Srebro
Gold = Złoto
Mithril = Mithril
Copper Rail = Miedziany tor

View File

@ -1 +1,4 @@
name = moreores
description = Adds new ore types.
depends = default
optional_depends = farming,intllib,mg