Skip to content

Commit 5482508

Browse files
authored
Add localization support (#233)
* sys lang * Update build.yml * localize * Update settings.c * Update exec_cmd.c * Update saves.c * Update lang_es.po * Update settings.c * Update menu_options.c * Update lang_pt.po * Update settings.h * Update lang_it.po * Create lang_ru.po * translations
1 parent 461ee5d commit 5482508

28 files changed

+8447
-619
lines changed

.github/workflows/build.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,12 @@ jobs:
110110
repository: bucanero/s3mplay
111111
path: s3mplay
112112

113+
- name: Checkout mini18n
114+
uses: actions/checkout@v4
115+
with:
116+
repository: bucanero/mini18n
117+
path: mini18n
118+
113119
- name: Cache LLVM and Clang
114120
id: cache-llvm
115121
uses: actions/cache@v4
@@ -150,6 +156,14 @@ jobs:
150156
cp -R ../include/mbedtls ${OO_PS4_TOOLCHAIN}/include/
151157
cp library/libmbed*.a ${OO_PS4_TOOLCHAIN}/lib/
152158
159+
- name: Install mini18n
160+
working-directory: mini18n
161+
run: |
162+
cmake --toolchain ../SDL-PS4/cmake/openorbis.cmake .
163+
make mini18n-static
164+
cp src/mini18n.h ${OO_PS4_TOOLCHAIN}/include/mini18n.h
165+
cp src/libmini18n.a ${OO_PS4_TOOLCHAIN}/lib/libmini18n.a
166+
153167
- name: Install dbglogger
154168
working-directory: dbglogger
155169
run: make -f Makefile.PS4 install

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ CONTENT_ID := IV0000-APOL00004_00-APOLLO0000000PS4
77
# Libraries linked into the ELF.
88
LIBS := -lc -lkernel -lc++ -lSceAudioOut -lSceUserService -lScePigletv2VSH -lSceSysmodule -lSceFreeType -lSQLite \
99
-lScePad -lSceSystemService -lSceSaveData -lSceCommonDialog -lSceMsgDialog -lSceNet -lSceNetCtl -lcurl \
10-
-lmbedtls -lmbedx509 -lmbedcrypto \
10+
-lmbedtls -lmbedx509 -lmbedcrypto -lmini18n \
1111
-lSceRegMgr -lSceImeDialog -lSDL2 -lapollo -ldbglogger -lpolarssl -lz -lzip -ljbc -lmxml -lunrar -lun7zip -ls3m
1212

1313
# Additional compile flags.

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
[![Build app package](https://github.com/bucanero/apollo-ps4/actions/workflows/build.yml/badge.svg)](https://github.com/bucanero/apollo-ps4/actions/workflows/build.yml)
55
![PS4](https://img.shields.io/badge/-PS4-003791?style=flat&logo=PlayStation)
66
[![Twitter](https://img.shields.io/twitter/follow/dparrino?label=Follow)](https://twitter.com/dparrino)
7+
[![Ask DeepWiki](https://deepwiki.com/badge.svg)](https://deepwiki.com/bucanero/apollo-ps4)
78

89
**Apollo Save Tool** is an application to manage save-game files on the PlayStation 4.
910

0 commit comments

Comments
 (0)