forked from anticapitalista/mx-goodies
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5c20330
commit 31d0ed4
Showing
120 changed files
with
453 additions
and
870 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
[main] | ||
host = https://www.transifex.com | ||
|
||
[o:anticapitalista:p:antix-development:r:mx-goodies] | ||
file_filter = po/mx-goodies_<lang>.po | ||
source_file = mx-goodies.pot | ||
source_lang = en | ||
type = po | ||
minimum_perc = 25 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
#!/usr/bin/make -f | ||
|
||
PKGNAM := ddm-mx | ||
|
||
BUILD := ././build | ||
PO_DIR := ./po | ||
XDGDIR := ../xdg | ||
|
||
LCMSGS := LC_MESSAGES/$(PKGNAM).mo | ||
|
||
DESKTOP_IN := $(wildcard $(XDGDIR)/*.desktop.in) | ||
DESKTOP := $(addprefix $(BUILD)/xdg/,$(notdir $(basename $(DESKTOP_IN)))) | ||
|
||
ifneq ($(strip $(LINGUAS)),) | ||
LINGUAS := $(sort $(LINGUAS)) | ||
$(file >$(PO_DIR)/LINGUAS) | ||
$(foreach po,$(LINGUAS),$(file >>$(PO_DIR)/LINGUAS,$(po))) | ||
else ifneq ($(wildcard $(PO_DIR)/LINGUAS),) | ||
LINGUAS := $(sort $(strip $(shell grep '^[[:space:]]*[a-z]' $(PO_DIR)/LINGUAS))) | ||
else | ||
LINGUAS := $(sort $(basename $(notdir $(wildcard $(PO_DIR)/*.po)))) | ||
$(foreach po,$(LINGUAS),$(file >>$(PO_DIR)/LINGUAS,$(po))) | ||
endif | ||
|
||
LOCALE := $(addprefix $(BUILD)/locale/,$(addsuffix /$(LCMSGS),$(LINGUAS))) | ||
|
||
all: clean locale desktop | ||
|
||
locale: $(LOCALE) | ||
|
||
$(BUILD)/locale/%/$(LCMSGS): $(PO_DIR)/%.po | ||
@mkdir -p $(BUILD)/locale/$*/LC_MESSAGES | ||
@echo " " $@ | ||
@msgfmt $< -o $@ | ||
|
||
desktop: $(DESKTOP) | ||
|
||
$(BUILD)/xdg/%.desktop: $(XDGDIR)/%.desktop.in | ||
@mkdir -p $(BUILD)/xdg | ||
@echo " " $@ | ||
msgfmt --desktop --template $< -d $(PO_DIR) -o $@ | ||
@sed -i '/^#/d' $@ | ||
@sed -i 's/\[${PKGNAM}_/\[/' $@ | ||
|
||
clean: | ||
-@rm -f $(DESKTOP) | ||
-@rm -rf $(BUILD) | ||
|
||
.PHONY: all clean locale desktop |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
#!/bin/bash | ||
|
||
APPNAME="$(basename $(dirname $(pwd)))" | ||
|
||
echodo() { | ||
echo "${@}" | ||
${@} | ||
} | ||
|
||
# prepare transifex | ||
if [ ! -s .tx/config ]; then | ||
mkdir -p .tx | ||
cat <<EOF > .tx/config | ||
[main] | ||
host = https://www.transifex.com | ||
[o:anticapitalista:p:antix-development:r:$APPNAME] | ||
file_filter = po/${APPNAME}_<lang>.po | ||
source_file = ${APPNAME}.pot | ||
source_lang = en | ||
type = po | ||
minimum_perc = 25 | ||
EOF | ||
fi | ||
|
||
|
||
#remove existing translations | ||
#rm po/* | ||
|
||
# get all translations | ||
if command -v tx >/dev/null; then | ||
echodo tx pull -r antix-development.$APPNAME --all | ||
fi |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file renamed
BIN
+781 Bytes
translations_script/mo/am/mx-goodies.mo → ...share/locale/am/LC_MESSAGES/mx-goodies.mo
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file renamed
BIN
+927 Bytes
translations_script/mo/da/mx-goodies.mo → ...share/locale/da/LC_MESSAGES/mx-goodies.mo
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file renamed
BIN
+1.22 KB
translations_script/mo/es/mx-goodies.mo → ...share/locale/es/LC_MESSAGES/mx-goodies.mo
Binary file not shown.
Binary file added
BIN
+1.31 KB
translations_script/mo/usr/share/locale/es_ES/LC_MESSAGES/mx-goodies.mo
Binary file not shown.
Binary file renamed
BIN
+1016 Bytes
translations_script/mo/fa/mx-goodies.mo → ...share/locale/fa/LC_MESSAGES/mx-goodies.mo
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+1.31 KB
translations_script/mo/usr/share/locale/fr_BE/LC_MESSAGES/mx-goodies.mo
Binary file not shown.
Binary file added
BIN
+1.27 KB
translations_script/mo/usr/share/locale/gl_ES/LC_MESSAGES/mx-goodies.mo
Binary file not shown.
Binary file added
BIN
+1.42 KB
translations_script/mo/usr/share/locale/he_IL/LC_MESSAGES/mx-goodies.mo
Binary file not shown.
Binary file not shown.
Binary file renamed
BIN
+1.01 KB
translations_script/mo/hr/mx-goodies.mo → ...share/locale/hr/LC_MESSAGES/mx-goodies.mo
Binary file not shown.
Binary file not shown.
Binary file renamed
BIN
+719 Bytes
translations_script/mo/is/mx-goodies.mo → ...share/locale/is/LC_MESSAGES/mx-goodies.mo
Binary file not shown.
Binary file renamed
BIN
+1.27 KB
translations_script/mo/it/mx-goodies.mo → ...share/locale/it/LC_MESSAGES/mx-goodies.mo
Binary file not shown.
Binary file not shown.
Binary file renamed
BIN
+1.06 KB
translations_script/mo/lt/mx-goodies.mo → ...share/locale/lt/LC_MESSAGES/mx-goodies.mo
Binary file not shown.
Binary file not shown.
Binary file renamed
BIN
+1.21 KB
translations_script/mo/nl/mx-goodies.mo → ...share/locale/nl/LC_MESSAGES/mx-goodies.mo
Binary file not shown.
Binary file added
BIN
+1.23 KB
translations_script/mo/usr/share/locale/nl_BE/LC_MESSAGES/mx-goodies.mo
Binary file not shown.
Binary file not shown.
Binary file renamed
BIN
+1.32 KB
translations_script/mo/pt/mx-goodies.mo → ...share/locale/pt/LC_MESSAGES/mx-goodies.mo
Binary file not shown.
Binary file added
BIN
+1.38 KB
translations_script/mo/usr/share/locale/pt_BR/LC_MESSAGES/mx-goodies.mo
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+1.7 KB
translations_script/mo/usr/share/locale/ru_RU/LC_MESSAGES/mx-goodies.mo
Binary file not shown.
Binary file renamed
BIN
+779 Bytes
translations_script/mo/sk/mx-goodies.mo → ...share/locale/sk/LC_MESSAGES/mx-goodies.mo
Binary file not shown.
Binary file renamed
BIN
+1.29 KB
translations_script/mo/sl/mx-goodies.mo → ...share/locale/sl/LC_MESSAGES/mx-goodies.mo
Binary file not shown.
Binary file not shown.
Binary file renamed
BIN
+1.21 KB
translations_script/mo/sv/mx-goodies.mo → ...share/locale/sv/LC_MESSAGES/mx-goodies.mo
Binary file not shown.
Binary file not shown.
Binary file renamed
BIN
+1.01 KB
translations_script/mo/vi/mx-goodies.mo → ...share/locale/vi/LC_MESSAGES/mx-goodies.mo
Binary file not shown.
Binary file renamed
BIN
+748 Bytes
translations_script/mo/zh_TW/mx-goodies.mo → ...re/locale/zh_TW/LC_MESSAGES/mx-goodies.mo
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.