Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#1 Le 02/12/2013, à 11:17

tutoux

gbirthday : langue : dans quel dossier/fichier ?

re-bonjour !

on peut supposer que quelques dialogues en langue française sont améliorables smile

ici :
http://gbirthday.sourceforge.net/gbfaqs.html
on lit :

How I change GBirthday Language?
    Internationalization is available from 0.4.0. You can't actually change the Language.
    There are just a few languages, you can check languages folder. /usr/share/gbirthday/languages/
    GBirthday will take the file which best matches with your locales. If none, it will take english by default.
    German file is commented, so, you can take as base to make your own locale file. 

je ne trouve pas de dossier languages dans  /usr/share/gbirthday

quelqu'un sait-il où cela peut se trouver car je n'y vois rien ? :-)

~$ locate -i gbirthday
/home/mlbg/.gbirthdayrc
/usr/bin/gbirthday
/usr/lib/pymodules/python2.7/gbirthday
/usr/lib/pymodules/python2.7/gbirthday/__init__.py
/usr/lib/pymodules/python2.7/gbirthday/__init__.pyc
/usr/lib/pymodules/python2.7/gbirthday/addressbook.py
/usr/lib/pymodules/python2.7/gbirthday/addressbook.pyc
/usr/lib/pymodules/python2.7/gbirthday/databases.py
/usr/lib/pymodules/python2.7/gbirthday/databases.pyc
/usr/lib/pymodules/python2.7/gbirthday/gtk_funcs.py
/usr/lib/pymodules/python2.7/gbirthday/gtk_funcs.pyc
/usr/lib/pymodules/python2.7/gbirthday/pics
/usr/lib/pymodules/python2.7/gbirthday/status_icon.py
/usr/lib/pymodules/python2.7/gbirthday/status_icon.pyc
/usr/lib/pymodules/python2.7/gbirthday/pics/birthday.png
/usr/lib/pymodules/python2.7/gbirthday/pics/birthdaylost.png
/usr/lib/pymodules/python2.7/gbirthday/pics/birthdaynext.png
/usr/lib/pymodules/python2.7/gbirthday/pics/birthdayred.png
/usr/lib/pymodules/python2.7/gbirthday/pics/birthdaytoday.png
/usr/lib/pymodules/python2.7/gbirthday/pics/gbirthday.png
/usr/lib/pymodules/python2.7/gbirthday/pics/nobirthday.png
/usr/share/gbirthday
/usr/share/app-install/desktop/gbirthday:gbirthday.desktop
/usr/share/app-install/icons/gbirthday.png
/usr/share/applications/gbirthday.desktop
/usr/share/doc/gbirthday
/usr/share/doc/gbirthday/changelog.Debian.gz
/usr/share/doc/gbirthday/copyright
/usr/share/locale/cs/LC_MESSAGES/gbirthday.mo
/usr/share/locale/da/LC_MESSAGES/gbirthday.mo
/usr/share/locale/de/LC_MESSAGES/gbirthday.mo
/usr/share/locale/en/LC_MESSAGES/gbirthday.mo
/usr/share/locale/es/LC_MESSAGES/gbirthday.mo
/usr/share/locale/fr/LC_MESSAGES/gbirthday.mo
/usr/share/locale/gl/LC_MESSAGES/gbirthday.mo
/usr/share/locale/he/LC_MESSAGES/gbirthday.mo
/usr/share/locale/it/LC_MESSAGES/gbirthday.mo
/usr/share/locale/pl/LC_MESSAGES/gbirthday.mo
/usr/share/locale/pt/LC_MESSAGES/gbirthday.mo
/usr/share/locale/ru/LC_MESSAGES/gbirthday.mo
/usr/share/locale/sk/LC_MESSAGES/gbirthday.mo
/usr/share/man/man1/gbirthday.1.gz
/usr/share/pixmaps/gbirthday.png
/usr/share/pyshared/gbirthday
/usr/share/pyshared/gbirthday/__init__.py
/usr/share/pyshared/gbirthday/addressbook.py
/usr/share/pyshared/gbirthday/databases.py
/usr/share/pyshared/gbirthday/gtk_funcs.py
/usr/share/pyshared/gbirthday/pics
/usr/share/pyshared/gbirthday/status_icon.py
/usr/share/pyshared/gbirthday/pics/birthday.png
/usr/share/pyshared/gbirthday/pics/birthdaylost.png
/usr/share/pyshared/gbirthday/pics/birthdaynext.png
/usr/share/pyshared/gbirthday/pics/birthdayred.png
/usr/share/pyshared/gbirthday/pics/birthdaytoday.png
/usr/share/pyshared/gbirthday/pics/gbirthday.png
/usr/share/pyshared/gbirthday/pics/nobirthday.png
/usr/share/python-support/gbirthday.public
/var/crash/_usr_bin_gbirthday.1000.crash
/var/crash/_usr_bin_gbirthday.1000.upload
/var/crash/_usr_bin_gbirthday.1000.uploaded
/var/lib/dpkg/info/gbirthday.list
/var/lib/dpkg/info/gbirthday.md5sums
/var/lib/dpkg/info/gbirthday.postinst
/var/lib/dpkg/info/gbirthday.prerm

merci d'avance
cordialement
tutoux

Hors ligne

#2 Le 02/12/2013, à 15:06

waxdesf

Re : gbirthday : langue : dans quel dossier/fichier ?

Que retournent les commandes suivantes ?

cd /usr/share/gbirthday/languages/
ls -l

A priori le fichier langue français pour l'application est :

/usr/share/locale/fr/LC_MESSAGES/gbirthday.mo

Dernière modification par waxdesf (Le 02/12/2013, à 15:24)


Ubuntu 17.10 / ASUS S550CM
Intel i7-3517U 1.9GHz
Nvidia GT 635M / Intel HD

Hors ligne

#3 Le 02/12/2013, à 15:27

waxdesf

Re : gbirthday : langue : dans quel dossier/fichier ?

sinon chez moi j'ai installé le paquet depuis les dépôts :

sudo apt-get install gbirthday

et tout est en français.


Ubuntu 17.10 / ASUS S550CM
Intel i7-3517U 1.9GHz
Nvidia GT 635M / Intel HD

Hors ligne

#4 Le 02/12/2013, à 15:43

tutoux

Re : gbirthday : langue : dans quel dossier/fichier ?

waxdesf a écrit :

Que retournent les commandes suivantes ?

cd /usr/share/gbirthday/languages/
ls -l
cd /usr/share/gbirthday/languages/
bash: cd: /usr/share/gbirthday/languages/: Aucun fichier ou dossier de ce type

A priori le fichier langue français pour l'application est :

/usr/share/locale/fr/LC_MESSAGES/gbirthday.mo

je ne peux pas l'ouvrir avec gedit ni sudo gedit

waxdesf a écrit :

sinon chez moi j'ai installé le paquet depuis les dépôts :

sudo apt-get install gbirthday

et tout est en français.

moi aussi, version 0.6.5

mais avec quelques facéties :-)   :

* 7 janvier Léo 36 days 86 years

* preferences : Passé anniversaires, Notification: Future birthdays

à propos : qu'est-ce ça veut dire ? à quoi ça sert ?

* add : save to file/database

par ailleurs tu as sans doute quelques lumières à apporter ici :-)
http://forum.ubuntu-fr.org/viewtopic.php?id=1439081
car moi je débute dans le gbirthday !

Hors ligne

#5 Le 02/12/2013, à 16:12

waxdesf

Re : gbirthday : langue : dans quel dossier/fichier ?

jamais utilisé gbirthday, je l'ai installé pour voir ce que je pouvais faire. Les fichiers mo ne sont pas éditables directement avec un éditeur de texte.

Si tu veux créer ta propre traduction je suppose que ça implique de modifier soi-même les sources (les fichiers de langue sont dans le dossier po, et au format.po éditable avec poedit, de mémoire)

puis compiler sa propre version du logiciel.... mais je ne suis pas assez compétent pour te guider là dedans.

Dernière modification par waxdesf (Le 02/12/2013, à 16:12)


Ubuntu 17.10 / ASUS S550CM
Intel i7-3517U 1.9GHz
Nvidia GT 635M / Intel HD

Hors ligne