Translation catalog integrated to the build system

This commit is contained in:
Emmanuel Milou
2008-03-21 11:48:00 -04:00
parent 17020cfa3f
commit 267df3fc35
4 changed files with 182 additions and 0 deletions

View File

@ -36,6 +36,7 @@ AC_SUBST(DEPS_LIBS)
AC_OUTPUT([
Makefile
src/Makefile
src/po/Makefile
pixmaps/Makefile
sflphone.desktop
])

View File

@ -1,3 +1,5 @@
SUBDIRS=po
bin_PROGRAMS = sflphone-gtk
sflphone_gtk_SOURCES = \

View File

@ -0,0 +1,32 @@
# location of installation directories
locale_installdir=$(datadir)/locale
DOMAIN=sflphone
# tells automake that toto.po makes toto.mo
SUFFIXES=.po .mo
POFILES=\
fr.po
MSGFMT=msgfmt
# necessary files
EXTRA_DIST= $(PO_FILES)
#.po.mo:
# $(MSGFMT) -o $@ $<
all: fr.mo
fr.mo: fr.po
$(MSGFMT) -o $@ $<
install:
$(mkinstalldirs) $(locale_installdir)/fr/LC_MESSAGES; \
$(INSTALL_DATA) fr.mo $(locale_installdir)/fr/LC_MESSAGES/$(DOMAIN).mo;
uninstall:
rm -f $(locale_installdir)/fr/LC_MESSAGES/$(DOMAIN).mo;
clean:
rm -rf *.mo

147
sflphone-gtk/src/po/fr.po Normal file
View File

@ -0,0 +1,147 @@
# Main menu items
msgid "About SFLphone"
msgstr "A propos de SFLphone"
msgid "SFLphone is a VoIP client compatible with SIP and IAX2 protocols."
msgstr "SFLphone est un client VoIP compatible avec les protocoles SIP et IAX2."
msgid "_Help"
msgstr "A_ide"
msgid "_Hang up"
msgstr "_Raccrocher"
msgid "Hang up"
msgstr "Raccrocher"
msgid "_Pick up"
msgstr "_Décrocher"
msgid "Pick up"
msgstr "Décrocher"
msgid "Place a call"
msgstr "Nouvel Appel"
msgid "On _Hold"
msgstr "_Mettre en attente"
msgid "On Hold"
msgstr "Mettre en attente"
msgid "Off Hold"
msgstr "Reprendre"
msgid "Tranfer"
msgstr "Transférer"
msgid "_New call"
msgstr "_Nouvel appel"
msgid "_Call"
msgstr "_Appeler"
msgid "_Edit"
msgstr "_Options"
msgid "_Dialpad"
msgstr "_Clavier"
msgid "_Volume controls"
msgstr "_Contrôle du volume"
msgid "_Toolbar"
msgstr "_Barre d'outils"
msgid "_View"
msgstr "A_ffichage"
# configwindow.c
# account settings
msgid "Accounts previously setup."
msgstr "Liste des comptes existants."
msgid "Protocol"
msgstr "Protocole"
msgid "_Protocol"
msgstr "_Protocole"
msgid "Status"
msgstr "Statut"
msgid "Set as Default"
msgstr "Choisir par Défaut"
msgid "Account settings"
msgstr "Configuration des comptes"
msgid "_Enabled"
msgstr "_Activé"
msgid "Unknown"
msgstr "Inconnu"
msgid "_Full Name"
msgstr "_Nom"
msgid "_User part"
msgstr ""
msgid "_Host part"
msgstr "_Serveur"
msgid "U_sername"
msgstr "U_sager"
msgid "_Password"
msgstr "_Mot de passe"
# audio settings
msgid "Output peripheral"
msgstr "Périphérique de sortie"
msgid "Input peripheral"
msgstr "Périphérique d'entrée"
msgid "Name"
msgstr "Nom"
msgid "Frequency"
msgstr "Fréquence"
msgid "Bitrate"
msgstr "Bitrate"
msgid "Bandwidth"
msgstr "Bande passante"
msgid "<b>Devices</b>"
msgstr "<b>Matériel</b>"
msgid "ALSA plugin"
msgstr "Greffon ALSA"
msgid "Detect all"
msgstr "Détecter"
msgid "_Enable ringtones"
msgstr "_Activer les sonneries"
msgid "Choose a ringtone"
msgstr "Sélectionner une sonnerie"
msgid "Audio Files"
msgstr "Fichier Audio"
msgid "Preferences"
msgstr "Préférences"
msgid "Accounts"
msgstr "Comptes"
msgid "Audio Settings"
msgstr "Paramètres Audio"
msgid "%d new voice mail%s"
msgstr "%d nouveaux messages vocaux%s"