Skip to content
GitLab
Explorer
Connexion
Navigation principale
Rechercher ou aller à…
Projet
Aegisub
Gestion
Activité
Membres
Labels
Programmation
Tickets
Tableaux des tickets
Jalons
Wiki
Code
Requêtes de fusion
Dépôt
Branches
Validations
Étiquettes
Graphe du dépôt
Comparer les révisions
Extraits de code
Déploiement
Releases
Registre de paquets
Registre de conteneurs
Registre de modèles
Opération
Modules Terraform
Surveillance
Incidents
Analyse
Données d'analyse des chaînes de valeur
Analyse des contributeurs
Données d'analyse du dépôt
Expériences du modèle
Aide
Aide
Support
Documentation de GitLab
Comparer les forfaits GitLab
Forum de la communauté GitLab
Contribuer à GitLab
Donner votre avis
Raccourcis clavier
?
Extraits de code
Groupes
Projets
Ce projet est archivé. Le dépôt et les autres ressources du projet sont en lecture seule.
Afficher davantage de fils d'Ariane
Kubat
Aegisub
Validations
51e23a3c
Valider
51e23a3c
rédigé
Il y a 12 ans
par
Thomas Goyne
Parcourir les fichiers
Options
Téléchargements
Correctifs
Plain Diff
Remove the period from the catalog name since gettext seems to not like it
parent
39bf2ab5
Branches
Branches contenant la validation
Étiquettes
Étiquettes contenant la validation
Aucune requête de fusion associée trouvée
Modifications
4
Afficher les modifications d'espaces
En ligne
Côte à côte
Affichage de
4 fichiers modifiés
aegisub/Makefile.inc.in
+1
-0
1 ajout, 0 suppression
aegisub/Makefile.inc.in
aegisub/configure.in
+8
-0
8 ajouts, 0 suppression
aegisub/configure.in
aegisub/po/Makefile
+2
-2
2 ajouts, 2 suppressions
aegisub/po/Makefile
aegisub/src/aegisublocale.cpp
+2
-2
2 ajouts, 2 suppressions
aegisub/src/aegisublocale.cpp
avec
13 ajouts
et
4 suppressions
aegisub/Makefile.inc.in
+
1
−
0
Voir le fichier @
51e23a3c
...
@@ -37,6 +37,7 @@ LIB_SHARED_LINK_OSX = -dynamiclib -Wl,-undefined -Wl,dynamic_lookup -compatibili
...
@@ -37,6 +37,7 @@ LIB_SHARED_LINK_OSX = -dynamiclib -Wl,-undefined -Wl,dynamic_lookup -compatibili
# STRINGS
# STRINGS
#########
#########
AEGISUB_COMMAND
=
@AEGISUB_COMMAND@
AEGISUB_COMMAND
=
@AEGISUB_COMMAND@
AEGISUB_CATALOG
=
@AEGISUB_CATALOG@
BUILD_DATE
=
@BUILD_DATE@
BUILD_DATE
=
@BUILD_DATE@
PACKAGE_TARNAME
=
aegisub-@BUILD_GIT_VERSION_STRING@
PACKAGE_TARNAME
=
aegisub-@BUILD_GIT_VERSION_STRING@
PACKAGE_DEBUG
=
@PACKAGE_DEBUG@
PACKAGE_DEBUG
=
@PACKAGE_DEBUG@
...
...
Ce diff est replié.
Cliquez pour l'agrandir.
aegisub/configure.in
+
8
−
0
Voir le fichier @
51e23a3c
...
@@ -68,6 +68,14 @@ AS_IF([test x$build_darwin = xyes],
...
@@ -68,6 +68,14 @@ AS_IF([test x$build_darwin = xyes],
AC_SUBST(AEGISUB_COMMAND)
AC_SUBST(AEGISUB_COMMAND)
AC_DEFINE_UNQUOTED([AEGISUB_COMMAND], ["${AEGISUB_COMMAND}"], [Name of the Aegisub executable])
AC_DEFINE_UNQUOTED([AEGISUB_COMMAND], ["${AEGISUB_COMMAND}"], [Name of the Aegisub executable])
# Name of gettext catalog.
# On OS X everything goes in an app bundle so no point in versioning the executable
AS_IF([test x$build_darwin = xyes],
[AEGISUB_CATALOG="aegisub"],
[AEGISUB_CATALOG="aegisub-30"])
AC_SUBST(AEGISUB_CATALOG)
AC_DEFINE_UNQUOTED([AEGISUB_CATALOG], ["${AEGISUB_CATALOG}"], [Name of the Aegisub gettext catalog])
# Handle location of desktop files: http://freedesktop.org/wiki/Specifications/desktop-entry-spec
# Handle location of desktop files: http://freedesktop.org/wiki/Specifications/desktop-entry-spec
AC_ARG_WITH(desktop-dir,
AC_ARG_WITH(desktop-dir,
AS_HELP_STRING([--with-desktop-dir=PATH],[desktop file locations [PREFIX/share/applications]]))
AS_HELP_STRING([--with-desktop-dir=PATH],[desktop file locations [PREFIX/share/applications]]))
...
...
Ce diff est replié.
Cliquez pour l'agrandir.
aegisub/po/Makefile
+
2
−
2
Voir le fichier @
51e23a3c
...
@@ -38,8 +38,8 @@ all: $(MO)
...
@@ -38,8 +38,8 @@ all: $(MO)
install
:
install
:
@$(
BIN_MKDIR
)
-p
$(
addsuffix /LC_MESSAGES/,
$(
addprefix
$(
DESTDIR
)$(
P_LOCALE
)
/,
$(
basename
$(
PO
))))
@$(
BIN_MKDIR
)
-p
$(
addsuffix /LC_MESSAGES/,
$(
addprefix
$(
DESTDIR
)$(
P_LOCALE
)
/,
$(
basename
$(
PO
))))
@
for
i
in
$(
basename
$(
PO
));
do
\
@
for
i
in
$(
basename
$(
PO
));
do
\
echo
$(
BIN_INSTALL
)
$$
i.mo
$(
DESTDIR
)$(
P_LOCALE
)
/
$$
i/LC_MESSAGES/
$(
AEGISUB_C
OMMAND
)
.mo
;
\
echo
$(
BIN_INSTALL
)
$$
i.mo
$(
DESTDIR
)$(
P_LOCALE
)
/
$$
i/LC_MESSAGES/
$(
AEGISUB_C
ATALOG
)
.mo
;
\
$(
BIN_INSTALL
)
$$
i.mo
$(
DESTDIR
)$(
P_LOCALE
)
/
$$
i/LC_MESSAGES/
$(
AEGISUB_C
OMMAND
)
.mo
;
\
$(
BIN_INSTALL
)
$$
i.mo
$(
DESTDIR
)$(
P_LOCALE
)
/
$$
i/LC_MESSAGES/
$(
AEGISUB_C
ATALOG
)
.mo
;
\
done
done
...
...
Ce diff est replié.
Cliquez pour l'agrandir.
aegisub/src/aegisublocale.cpp
+
2
−
2
Voir le fichier @
51e23a3c
...
@@ -97,7 +97,7 @@ void AegisubLocale::Init(int language) {
...
@@ -97,7 +97,7 @@ void AegisubLocale::Init(int language) {
locale
->
AddCatalogLookupPathPrefix
(
StandardPaths
::
DecodePath
(
"?data/locale/"
));
locale
->
AddCatalogLookupPathPrefix
(
StandardPaths
::
DecodePath
(
"?data/locale/"
));
locale
->
AddCatalog
(
"aegisub"
);
locale
->
AddCatalog
(
"aegisub"
);
#else
#else
locale
->
AddCatalog
(
AEGISUB_C
OMMAND
);
locale
->
AddCatalog
(
AEGISUB_C
ATALOG
);
#endif
#endif
locale
->
AddCatalog
(
"wxstd"
);
locale
->
AddCatalog
(
"wxstd"
);
...
@@ -213,7 +213,7 @@ wxArrayInt AegisubLocale::GetAvailableLanguages() {
...
@@ -213,7 +213,7 @@ wxArrayInt AegisubLocale::GetAvailableLanguages() {
// If the locale file doesn't exist then don't list it as an option.
// If the locale file doesn't exist then don't list it as an option.
wxString
locDir
=
wxStandardPaths
::
Get
().
GetLocalizedResourcesDir
(
langs
[
i
],
wxStandardPathsBase
::
ResourceCat_Messages
);
wxString
locDir
=
wxStandardPaths
::
Get
().
GetLocalizedResourcesDir
(
langs
[
i
],
wxStandardPathsBase
::
ResourceCat_Messages
);
wxFileName
file
(
wxString
::
Format
(
"%s/%s.mo"
,
locDir
,
AEGISUB_C
OMMAND
));
wxFileName
file
(
wxString
::
Format
(
"%s/%s.mo"
,
locDir
,
AEGISUB_C
ATALOG
));
if
(
lang
&&
file
.
FileExists
())
final
.
Add
(
lang
->
Language
);
if
(
lang
&&
file
.
FileExists
())
final
.
Add
(
lang
->
Language
);
}
}
#endif
#endif
...
...
Ce diff est replié.
Cliquez pour l'agrandir.
Aperçu
0%
Chargement en cours
Veuillez réessayer
ou
joindre un nouveau fichier
.
Annuler
You are about to add
0
people
to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Enregistrer le commentaire
Annuler
Veuillez vous
inscrire
ou vous
se connecter
pour commenter