mirror of
https://gitlab.com/rubenwardy/awards.git
synced 2024-11-22 07:13:49 +01:00
Remove intllib from dependencies
This commit is contained in:
parent
7bac284f80
commit
5514c35409
14
depends.txt
14
depends.txt
@ -1,14 +0,0 @@
|
|||||||
intllib?
|
|
||||||
sfinv?
|
|
||||||
unified_inventory?
|
|
||||||
default?
|
|
||||||
stairs?
|
|
||||||
farming?
|
|
||||||
dye?
|
|
||||||
beds?
|
|
||||||
wool?
|
|
||||||
vessels?
|
|
||||||
moreblocks?
|
|
||||||
fire?
|
|
||||||
flowers?
|
|
||||||
nyancat?
|
|
2
mod.conf
2
mod.conf
@ -2,7 +2,7 @@ name = awards
|
|||||||
title = Awards
|
title = Awards
|
||||||
author = rubenwardy
|
author = rubenwardy
|
||||||
description = Adds awards to Minetest, and an API to register new ones.
|
description = Adds awards to Minetest, and an API to register new ones.
|
||||||
optional_depends = intllib,sfinv,unified_inventory,default,stairs,farming,dye,beds,wool,vessels,moreblocks,fire,flowers,nyancat
|
optional_depends = sfinv,unified_inventory,default,stairs,farming,dye,beds,wool,vessels,moreblocks,fire,flowers,nyancat
|
||||||
license = MIT
|
license = MIT
|
||||||
forum = https://forum.minetest.net/viewtopic.php?t=4870
|
forum = https://forum.minetest.net/viewtopic.php?t=4870
|
||||||
version = 3.0.0
|
version = 3.0.0
|
||||||
|
@ -1,22 +0,0 @@
|
|||||||
#! /bin/bash
|
|
||||||
|
|
||||||
# To create a new translation:
|
|
||||||
# msginit --locale=ll_CC -o locale/ll_CC.po -i locale/template.pot
|
|
||||||
|
|
||||||
cd "$(dirname "${BASH_SOURCE[0]}")/..";
|
|
||||||
|
|
||||||
# Extract translatable strings.
|
|
||||||
xgettext --from-code=UTF-8 \
|
|
||||||
--keyword=S \
|
|
||||||
--keyword=NS:1,2 \
|
|
||||||
--keyword=N_ \
|
|
||||||
--add-comments='Translators:' \
|
|
||||||
--add-location=file \
|
|
||||||
-o locale/template.pot \
|
|
||||||
$(find . -name '*.lua')
|
|
||||||
|
|
||||||
# Update translations.
|
|
||||||
find locale -name '*.po' | while read -r file; do
|
|
||||||
echo $file
|
|
||||||
msgmerge --update $file locale/template.pot;
|
|
||||||
done
|
|
Loading…
Reference in New Issue
Block a user