[DL]String additions to 'gnome-tour.master'

2021-05-10 Thread GNOME Status Pages
This is an automatic notification from status generation scripts on:
https://l10n.gnome.org.

There have been following string additions to module 'gnome-tour.master':

+ "Easily organize windows with the new workspaces view."

Note that this doesn't directly indicate a string freeze break, but it
might be worth investigating.
https://gitlab.gnome.org/GNOME/gnome-tour/commits/master
___
gnome-i18n mailing list
gnome-i18n@gnome.org
https://mail.gnome.org/mailman/listinfo/gnome-i18n


Re: Finding strings in GNOME

2021-05-10 Thread Matej Urban via gnome-i18n
Awesome, thanks Yuri.
It also works recursively ;). Perfect.

Thank you!
Matej

On Mon, May 10, 2021 at 5:36 PM Yuri Chornoivan via gnome-i18n <
gnome-i18n@gnome.org> wrote:

> понеділок, 10 травня 2021 р. 18:26:21 EEST Matej Urban via gnome-i18n
> написано:
> > Yuri,
> > this method of yours actually works perfectly!
> > Is it possible to extend this script to use multiple locations as there
> are
> > at least 2 ...
> >
> >- /usr/share/locale/da/LC_MESSAGES/
> >- /usr/share/locale-langpack/da/LC_MESSAGES/
> >
> > and to also include .mo and .po files.
>
> Sure. find takes several arguments. For example, to search in POs you can
> use
>
> -name '*.mo' -o -name '*.po'
>
> To combine several directories just add more finds
>
> `find /usr/share/locale/da/LC_MESSAGES -name '*.mo'` `find
> /home/your_user/pos -
> name '*.po'`
>
> Best regards,
> Yuri
>
> >
> > Anyhow, thank you very much, it is usable as in this form also!
> > Best,
> > Matej
> >
> > On Mon, May 10, 2021 at 3:41 PM Ask Hjorth Larsen via gnome-i18n <
> >
> > gnome-i18n@gnome.org> wrote:
> > > Am Mo., 10. Mai 2021 um 02:17 Uhr schrieb scootergrisen via gnome-i18n
> > >
> > > :
> > > > Den 09-05-2021 kl. 23:21 skrev Daniel Șerbănescu:
> > > > > În data de Du, 09-05-2021 la 22:37 +0200, Matej Urban via
> gnome-i18n a
> > > > >
> > > > > scris:
> > > > >> Hello, I need a bit of help.
> > > > >> I frequently see strange translations, but then can not find,
> which
> > > > >> packet those belong to. Is there a simple way to find them?
> > > > >
> > > > > Hello Matej,
> > > > > Here are the steps I usually do:
> > > > > 1. On your language team page in Damned Lies open a release page
> (Like
> > > > > Gnome 40). There is a link to download all the .po files, it is
> > > > > located
> > > > > at the bottom of translation statistics. So click that link to
> > > > > download
> > > > > E.g. For the Romanian team the link would be at the bottom os this
> > >
> > > page:
> > > > > https://l10n.gnome.org/languages/ro/gnome-40/ui/
> > > > > 
> > > > > 2. Extract the .po files in a folder
> > > > > 3. Open a terminal in that folder
> > > > > 4. Use the following grep command: grep -ri "the string you are
> > > > > looking
> > > > > for" *
> > > > > (replace "the string you are looking for" with the actual search
> > > > > term.)
> > > > >
> > > > > Be aware that there can be memonics in the original string so you
> > > > > could
> > > > > try searching for a part of that string.
> > > >
> > > > Do anyone know how to ignore these "_" memonics that might be in
> > > > strings?
> > > >
> > > > So i can search for "Test" and i will find all these:
> > > > "Test"
> > > > "_Test"
> > > > "T_est"
> > > > "Te_st"
> > > > "Tes_t"
> > >
> > > With pyg3t [1] you can do:
> > > gtgrep --accel=_ Test filename.po
> > >
> > > It ignores the accelerator character when matching and also prints the
> > > whole msgid+msgstr+comments rather than just the matching line.
> > >
> > > For checking files in many directories, one would use find and xargs.
> > >
> > > E.g.:
> > > find -name "*.po" | xargs gtgrep --accel=_ Test
> > >
> > > [1] https://gitlab.com/pyg3t/pyg3t
> > >
> > > Best regards
> > > Ask
> > > ___
> > > gnome-i18n mailing list
> > > gnome-i18n@gnome.org
> > > https://mail.gnome.org/mailman/listinfo/gnome-i18n
>
>
>
>
> ___
> gnome-i18n mailing list
> gnome-i18n@gnome.org
> https://mail.gnome.org/mailman/listinfo/gnome-i18n
>
___
gnome-i18n mailing list
gnome-i18n@gnome.org
https://mail.gnome.org/mailman/listinfo/gnome-i18n


Re: Finding strings in GNOME

2021-05-10 Thread Yuri Chornoivan via gnome-i18n
понеділок, 10 травня 2021 р. 18:26:21 EEST Matej Urban via gnome-i18n 
написано:
> Yuri,
> this method of yours actually works perfectly!
> Is it possible to extend this script to use multiple locations as there are
> at least 2 ...
> 
>- /usr/share/locale/da/LC_MESSAGES/
>- /usr/share/locale-langpack/da/LC_MESSAGES/
> 
> and to also include .mo and .po files.

Sure. find takes several arguments. For example, to search in POs you can use

-name '*.mo' -o -name '*.po'

To combine several directories just add more finds

`find /usr/share/locale/da/LC_MESSAGES -name '*.mo'` `find /home/your_user/pos -
name '*.po'`

Best regards,
Yuri

> 
> Anyhow, thank you very much, it is usable as in this form also!
> Best,
> Matej
> 
> On Mon, May 10, 2021 at 3:41 PM Ask Hjorth Larsen via gnome-i18n <
> 
> gnome-i18n@gnome.org> wrote:
> > Am Mo., 10. Mai 2021 um 02:17 Uhr schrieb scootergrisen via gnome-i18n
> > 
> > :
> > > Den 09-05-2021 kl. 23:21 skrev Daniel Șerbănescu:
> > > > În data de Du, 09-05-2021 la 22:37 +0200, Matej Urban via gnome-i18n a
> > > > 
> > > > scris:
> > > >> Hello, I need a bit of help.
> > > >> I frequently see strange translations, but then can not find, which
> > > >> packet those belong to. Is there a simple way to find them?
> > > > 
> > > > Hello Matej,
> > > > Here are the steps I usually do:
> > > > 1. On your language team page in Damned Lies open a release page (Like
> > > > Gnome 40). There is a link to download all the .po files, it is
> > > > located
> > > > at the bottom of translation statistics. So click that link to
> > > > download
> > > > E.g. For the Romanian team the link would be at the bottom os this
> > 
> > page:
> > > > https://l10n.gnome.org/languages/ro/gnome-40/ui/
> > > > 
> > > > 2. Extract the .po files in a folder
> > > > 3. Open a terminal in that folder
> > > > 4. Use the following grep command: grep -ri "the string you are
> > > > looking
> > > > for" *
> > > > (replace "the string you are looking for" with the actual search
> > > > term.)
> > > > 
> > > > Be aware that there can be memonics in the original string so you
> > > > could
> > > > try searching for a part of that string.
> > > 
> > > Do anyone know how to ignore these "_" memonics that might be in
> > > strings?
> > > 
> > > So i can search for "Test" and i will find all these:
> > > "Test"
> > > "_Test"
> > > "T_est"
> > > "Te_st"
> > > "Tes_t"
> > 
> > With pyg3t [1] you can do:
> > gtgrep --accel=_ Test filename.po
> > 
> > It ignores the accelerator character when matching and also prints the
> > whole msgid+msgstr+comments rather than just the matching line.
> > 
> > For checking files in many directories, one would use find and xargs.
> > 
> > E.g.:
> > find -name "*.po" | xargs gtgrep --accel=_ Test
> > 
> > [1] https://gitlab.com/pyg3t/pyg3t
> > 
> > Best regards
> > Ask
> > ___
> > gnome-i18n mailing list
> > gnome-i18n@gnome.org
> > https://mail.gnome.org/mailman/listinfo/gnome-i18n




___
gnome-i18n mailing list
gnome-i18n@gnome.org
https://mail.gnome.org/mailman/listinfo/gnome-i18n


Re: Finding strings in GNOME

2021-05-10 Thread Matej Urban via gnome-i18n
Yuri,
this method of yours actually works perfectly!
Is it possible to extend this script to use multiple locations as there are
at least 2 ...

   - /usr/share/locale/da/LC_MESSAGES/
   - /usr/share/locale-langpack/da/LC_MESSAGES/

and to also include .mo and .po files.

Anyhow, thank you very much, it is usable as in this form also!
Best,
Matej

On Mon, May 10, 2021 at 3:41 PM Ask Hjorth Larsen via gnome-i18n <
gnome-i18n@gnome.org> wrote:

> Am Mo., 10. Mai 2021 um 02:17 Uhr schrieb scootergrisen via gnome-i18n
> :
> >
> > Den 09-05-2021 kl. 23:21 skrev Daniel Șerbănescu:
> > > În data de Du, 09-05-2021 la 22:37 +0200, Matej Urban via gnome-i18n a
> > > scris:
> > >> Hello, I need a bit of help.
> > >> I frequently see strange translations, but then can not find, which
> > >> packet those belong to. Is there a simple way to find them?
> > >
> > > Hello Matej,
> > > Here are the steps I usually do:
> > > 1. On your language team page in Damned Lies open a release page (Like
> > > Gnome 40). There is a link to download all the .po files, it is located
> > > at the bottom of translation statistics. So click that link to download
> > > E.g. For the Romanian team the link would be at the bottom os this
> page:
> > > https://l10n.gnome.org/languages/ro/gnome-40/ui/
> > > 
> > > 2. Extract the .po files in a folder
> > > 3. Open a terminal in that folder
> > > 4. Use the following grep command: grep -ri "the string you are looking
> > > for" *
> > > (replace "the string you are looking for" with the actual search term.)
> > >
> > > Be aware that there can be memonics in the original string so you could
> > > try searching for a part of that string.
> >
> > Do anyone know how to ignore these "_" memonics that might be in strings?
> >
> > So i can search for "Test" and i will find all these:
> > "Test"
> > "_Test"
> > "T_est"
> > "Te_st"
> > "Tes_t"
>
> With pyg3t [1] you can do:
>
> gtgrep --accel=_ Test filename.po
>
> It ignores the accelerator character when matching and also prints the
> whole msgid+msgstr+comments rather than just the matching line.
>
> For checking files in many directories, one would use find and xargs.
> E.g.:
>
> find -name "*.po" | xargs gtgrep --accel=_ Test
>
> [1] https://gitlab.com/pyg3t/pyg3t
>
> Best regards
> Ask
> ___
> gnome-i18n mailing list
> gnome-i18n@gnome.org
> https://mail.gnome.org/mailman/listinfo/gnome-i18n
>
___
gnome-i18n mailing list
gnome-i18n@gnome.org
https://mail.gnome.org/mailman/listinfo/gnome-i18n


Re: Finding strings in GNOME

2021-05-10 Thread Ask Hjorth Larsen via gnome-i18n
Am Mo., 10. Mai 2021 um 02:17 Uhr schrieb scootergrisen via gnome-i18n
:
>
> Den 09-05-2021 kl. 23:21 skrev Daniel Șerbănescu:
> > În data de Du, 09-05-2021 la 22:37 +0200, Matej Urban via gnome-i18n a
> > scris:
> >> Hello, I need a bit of help.
> >> I frequently see strange translations, but then can not find, which
> >> packet those belong to. Is there a simple way to find them?
> >
> > Hello Matej,
> > Here are the steps I usually do:
> > 1. On your language team page in Damned Lies open a release page (Like
> > Gnome 40). There is a link to download all the .po files, it is located
> > at the bottom of translation statistics. So click that link to download
> > E.g. For the Romanian team the link would be at the bottom os this page:
> > https://l10n.gnome.org/languages/ro/gnome-40/ui/
> > 
> > 2. Extract the .po files in a folder
> > 3. Open a terminal in that folder
> > 4. Use the following grep command: grep -ri "the string you are looking
> > for" *
> > (replace "the string you are looking for" with the actual search term.)
> >
> > Be aware that there can be memonics in the original string so you could
> > try searching for a part of that string.
>
> Do anyone know how to ignore these "_" memonics that might be in strings?
>
> So i can search for "Test" and i will find all these:
> "Test"
> "_Test"
> "T_est"
> "Te_st"
> "Tes_t"

With pyg3t [1] you can do:

gtgrep --accel=_ Test filename.po

It ignores the accelerator character when matching and also prints the
whole msgid+msgstr+comments rather than just the matching line.

For checking files in many directories, one would use find and xargs.  E.g.:

find -name "*.po" | xargs gtgrep --accel=_ Test

[1] https://gitlab.com/pyg3t/pyg3t

Best regards
Ask
___
gnome-i18n mailing list
gnome-i18n@gnome.org
https://mail.gnome.org/mailman/listinfo/gnome-i18n


Re: Finding strings in GNOME

2021-05-10 Thread Daniel Șerbănescu
În data de Lu, 10-05-2021 la 08:19 +0200, Matej Urban via gnome-i18n a
scris:
> I'm sure there is a way to search in e.g. .mo files on my sistem. If
> I find that file, I know, where the string is

Hi again Matej,
I think you could do the same „grep”-technique but this time you should
open the terminal in the folder that contains the .mo files (it depends
from distro to distro)

On apt-based distros you could try to locate all the files of one
package with: dpkg -L package-name
and you should be able to find the location of the .mo files for that
package (if it was packaged correctly it should use a shared folder for
the .mo localization files, that means that other packages would have
.mo files at the same location)

I am also open to other Ideas.

Regards, Daniel
___
gnome-i18n mailing list
gnome-i18n@gnome.org
https://mail.gnome.org/mailman/listinfo/gnome-i18n


Re: How can translation get permissions to close "their" Gitlab issues?

2021-05-10 Thread Tim Sabsch
Hi Andre,

in order to close issues, one needs to be member of the translation project. 
When I (German translator) had the same issue 2 years ago, I was manually added 
by Piotr. A simple approach could be to grant coordinators the maintainer role 
so they can manage their team members themselves.
Maybe it's even possible to sync the roles on Damned Lies with Gitlab, I don't 
know about that.

Cheers
Tim

> Andre Klapper via gnome-i18n  hat am 08.05.2021 21:48 
> geschrieben:
> 
>  
> It seems that sometimes translation bug reports (issues) remain open
> though they have been fixed by translators, simply because translators
> don't have permissions to close them. Random examples:
> 
> https://gitlab.gnome.org/Teams/Translation/pt/-/issues/11#note_1089460
> https://gitlab.gnome.org/Teams/Translation/fi/-/issues/2#note_1061809
> 
> Does anyone know how translators could request permissions to close
> issues in "their" GitLab project?
> Or even a (semi-)automated process to hand out such permissions?
> 
> I could not find this aspect covered in
> https://gitlab.gnome.org/Infrastructure/GitLab/-/issues/341 either.
> 
> Maybe this is not a common problem; still wanted to bring it up.
> 
> Thanks,
> andre
> --
> Andre Klapper  |  ak...@gmx.net
> https://blogs.gnome.org/aklapper/
> 
> 
> ___
> gnome-i18n mailing list
> gnome-i18n@gnome.org
> https://mail.gnome.org/mailman/listinfo/gnome-i18n
___
gnome-i18n mailing list
gnome-i18n@gnome.org
https://mail.gnome.org/mailman/listinfo/gnome-i18n