Skip to content
Extraits de code Groupes Projets
Valider ccf3e94d rédigé par Thomas Goyne's avatar Thomas Goyne
Parcourir les fichiers

Bundle the Serbian translation as sr_YU on OS X as it doesn't have sr_RS

parent 68fcf90d
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -202,6 +202,8 @@ wxArrayInt AegisubLocale::GetAvailableLanguages() { ...@@ -202,6 +202,8 @@ wxArrayInt AegisubLocale::GetAvailableLanguages() {
"ru", "ru",
"sr_RS", "sr_RS",
"sr_RS@latin", "sr_RS@latin",
"sr_YU",
"sr_YU@latin",
"vi", "vi",
"zh_CN", "zh_CN",
"zh_TW" "zh_TW"
......
...@@ -81,9 +81,11 @@ echo "---- Copying Aegisub locale files ----" ...@@ -81,9 +81,11 @@ echo "---- Copying Aegisub locale files ----"
mkdir -vp "${PKG_DIR}/Contents/Resources/en.lproj" mkdir -vp "${PKG_DIR}/Contents/Resources/en.lproj"
for i in `ls -1 po/*.mo|sed "s|po/\(.*\).mo|\1|"`; do for i in `ls -1 po/*.mo|sed "s|po/\(.*\).mo|\1|"`; do
# The only serbian locale 10.8 has is sr_YU
destname=$(echo ${i} | sed 's/sr_RS/sr_YU/')
if test -f "po/${i}.mo"; then if test -f "po/${i}.mo"; then
mkdir -p "${PKG_DIR}/Contents/Resources/${i}.lproj" mkdir -p "${PKG_DIR}/Contents/Resources/${destname}.lproj"
cp -v po/${i}.mo "${PKG_DIR}/Contents/Resources/${i}.lproj/aegisub.mo" cp -v po/${i}.mo "${PKG_DIR}/Contents/Resources/${destname}.lproj/aegisub.mo"
else else
echo "${i}.mo not found!" echo "${i}.mo not found!"
exit 1 exit 1
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Veuillez vous inscrire ou vous pour commenter