Skip to content

Commit 946cc29

Browse files
walkero-grWeblate Adminpedro cotteramiguy
authored
Add portuguese (#264)
* Setup the branch for the translations using .po files * Added translation using Weblate (Portuguese) * Add information about the translations * Translated using Weblate (Greek) Currently translated at 100.0% (123 of 123 strings) Translation: iGame/igame app Translate-URL: https://translate.igame.rocks/projects/igame/igame-app/el/ * Translated using Weblate (Portuguese) Currently translated at 69.6% (85 of 122 strings) Translation: iGame/igame app Translate-URL: https://translate.igame.rocks/projects/igame/igame-app/pt/ * Translated using Weblate (Portuguese) Currently translated at 100.0% (122 of 122 strings) Translation: iGame/igame app Translate-URL: https://translate.igame.rocks/projects/igame/igame-app/pt/ * Translated using Weblate (French) Currently translated at 100.0% (123 of 123 strings) Translation: iGame/igame app Translate-URL: https://translate.igame.rocks/projects/igame/igame-app/fr/ * Added Portuguese language and made necessary fixes for a new release * Fix the creation of catalog folders --------- Co-authored-by: Weblate Admin <noreply@igame.rocks> Co-authored-by: pedro cotter <pcotter1972@hotmail.com> Co-authored-by: amiguy <amiguy@gmx.fr>
1 parent 790e666 commit 946cc29

File tree

17 files changed

+242
-2635
lines changed

17 files changed

+242
-2635
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
## iGame VERSION_TAG - [RELEASE_DATE]
22
### Added
33
- By changing the Genre select box to a PopupString, it is now possible to edit the Genre title and create new ones, which will be added to the Genre lists
4+
- Added Portuguese language
45

56
### Changed
67
- The genres in the Information window changed to a PopupString. Now, it takes less space to choose a genre, making it possible even on small resolutions.

Makefile.docker

Lines changed: 21 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,7 @@ iGame: $(igame_OBJS)
127127
include make_includes/catalogs.inc
128128

129129
catalogs/%/iGame.catalog: catalogs/po/%.po catalogs/iGame.cd
130+
mkdir -p $(dir $@)
130131
flexcat POFILE $< CATALOG $@ FILL QUIET || exit 0
131132

132133
##########################################################################
@@ -178,29 +179,29 @@ clean:
178179

179180
release: $(catalog_files)
180181
ifneq ($(origin DRONE_TAG),undefined)
181-
sed -i "s/VERSION_TAG/$(DRONE_TAG)/" ./required_files/iGame.guide
182-
sed -i "s/RELEASE_DATE/$(shell date "+%d.%m.%Y")/" ./required_files/iGame.guide
182+
@sed -i "s/VERSION_TAG/$(DRONE_TAG)/" ./required_files/iGame.guide
183+
@sed -i "s/RELEASE_DATE/$(shell date "+%d.%m.%Y")/" ./required_files/iGame.guide
183184
endif
184-
cp -r required_files iGame-$(DRONE_TAG)
185-
cp iGame-$(DRONE_TAG)/igame_drawer_3.0.info iGame-$(DRONE_TAG).info
186-
mv iGame-$(DRONE_TAG)/igame_drawer_3.0.info iGame-$(DRONE_TAG)/extras/icons
187-
mv iGame-$(DRONE_TAG)/igame_drawer.info iGame-$(DRONE_TAG)/extras/icons
188-
mkdir iGame-$(DRONE_TAG)/catalogs
189-
cp catalogs/iGame.cd iGame-$(DRONE_TAG)/catalogs/
190-
cd iGame-$(DRONE_TAG) && mkdir $(catalog_dirs)
191-
for c in $(catalog_files); do cp $$c iGame-$(DRONE_TAG)/$$(dirname $$c)/; done
185+
@cp -r required_files iGame-$(DRONE_TAG)
186+
@cp iGame-$(DRONE_TAG)/igame_drawer_3.0.info iGame-$(DRONE_TAG).info
187+
@mv iGame-$(DRONE_TAG)/igame_drawer_3.0.info iGame-$(DRONE_TAG)/extras/icons
188+
@mv iGame-$(DRONE_TAG)/igame_drawer.info iGame-$(DRONE_TAG)/extras/icons
189+
@mkdir iGame-$(DRONE_TAG)/catalogs
190+
@cp catalogs/iGame.cd iGame-$(DRONE_TAG)/catalogs/
191+
@cd iGame-$(DRONE_TAG) && mkdir $(catalog_dirs)
192+
@for c in $(catalog_files); do cp $$c iGame-$(DRONE_TAG)/$$(dirname $$c)/; done
192193
ifneq ($(origin DRONE_TAG),undefined)
193-
sed -i "s/VERSION_TAG/$(DRONE_TAG)/" ./CHANGELOG.md
194-
sed -i "s/RELEASE_DATE/$(shell date "+%Y-%m-%d")/" ./CHANGELOG.md
194+
@sed -i "s/VERSION_TAG/$(DRONE_TAG)/" ./CHANGELOG.md
195+
@sed -i "s/RELEASE_DATE/$(shell date "+%Y-%m-%d")/" ./CHANGELOG.md
195196
endif
196-
cp CHANGELOG.md iGame-$(DRONE_TAG)/
197-
if [ -f "iGame.000" ]; then cp iGame.000 iGame-$(DRONE_TAG)/iGame; fi
198-
if [ -f "iGame.030" ]; then cp iGame.030 iGame-$(DRONE_TAG)/; fi
199-
if [ -f "iGame.040" ]; then cp iGame.040 iGame-$(DRONE_TAG)/; fi
200-
if [ -f "iGame.060" ]; then cp iGame.060 iGame-$(DRONE_TAG)/; fi
201-
if [ -f "iGame.MOS" ]; then cp iGame.MOS iGame-$(DRONE_TAG)/; fi
202-
if [ -f "iGame.OS4" ]; then cp iGame.OS4 iGame-$(DRONE_TAG)/; fi
203-
lha -aq2o6 iGame-$(DRONE_TAG)-$(DATESTR).lha iGame-$(DRONE_TAG)/ iGame-$(DRONE_TAG).info
197+
@cp CHANGELOG.md iGame-$(DRONE_TAG)/
198+
@if [ -f "iGame.000" ]; then cp iGame.000 iGame-$(DRONE_TAG)/iGame; fi
199+
@if [ -f "iGame.030" ]; then cp iGame.030 iGame-$(DRONE_TAG)/; fi
200+
@if [ -f "iGame.040" ]; then cp iGame.040 iGame-$(DRONE_TAG)/; fi
201+
@if [ -f "iGame.060" ]; then cp iGame.060 iGame-$(DRONE_TAG)/; fi
202+
@if [ -f "iGame.MOS" ]; then cp iGame.MOS iGame-$(DRONE_TAG)/; fi
203+
@if [ -f "iGame.OS4" ]; then cp iGame.OS4 iGame-$(DRONE_TAG)/; fi
204+
@lha -aq2o6 iGame-$(DRONE_TAG)-$(DATESTR).lha iGame-$(DRONE_TAG)/ iGame-$(DRONE_TAG).info
204205

205206
clean-release:
206207
rm -rf iGame-$(DRONE_TAG)

0 commit comments

Comments
 (0)