Re: where to find a string
nikos <[email protected]> Wed, 16 Jun 2010 14:34:33 +0300
| Newsgroups | gmane.linux.mandrake.cooker.internationalization |
|---|---|
| Message-ID | <[email protected]> |
As Bjørn suggested... in greek locale (el) bash-4.0$ cd /usr/share/locale/el/LC_MESSAGES bash-4.0$ grep -lir 'σύνδεση απέτυχε' * cervisia.mo drakx-net.mo gajim.mo kdmgreet.mo kio_sftp.mo kio_smtp.mo kopete.mo kppp.mo krdc.mo kres_groupwise.mo kres_xmlrpc.mo ksirk.mo libkcal.mo plasma_applet_rtm.mo bash-4.0$ So, if it's not the one in drakx-net, it should be the one in kdmgreet . Nikos στις 15/06/2010 10:15 πμ, O/H Bjørn Steensrud έγραψε: > Mandag 14. juni 2010 21.35.01 skrev du: >> It is nt in network-tools the string that appears in kdm because in >> network-tools in greek is : >> >> msgid "Connection failed." >> msgstr "Αποτυχία σύνδεσης." >> >> And in kdm when the connexion is failed i have the message : >> «Σύνδεση απέτυχε» and i want to change it to «Η σύνδεση απέτυχε» >> >> >> Dimitris >> > > Hmm ... I can't find "Connection" or "failed" in the mandriva translation > directories ... perhaps you could do the one-line search again but search for > the string «Σύνδεση απέτυχε» ? > > You could try again using grep -iH instead of grep -il, this will show the > file name and the matching line. I had a quick look at /usr/bin/kdm, but the > string must be in some library it is using, No time right now, I'll look > further. An idea is to look in /usr/share/locale/gr/LC_messages, > using msgunfmt on the .mo files, that's a big job ... let's see if we can > automate it. Oh, the power of the command line. > > Finally, we can always Use The Source :-) > > Bjørn >