Bug 5332

Summary: Some netprofile strings can't be localized, please add them to drakx-net.pot
Product: Mageia Reporter: Marcello Anni <marcello.anni>
Component: RPM PackagesAssignee: Mageia Bug Squad <bugsquad>
Status: RESOLVED WONTFIX QA Contact: Internationalisation Team <i18n-bugs>
Severity: normal    
Priority: Normal CC: rverschelde, thierry.vignaud, yurchor
Version: CauldronKeywords: Junior_job, NEEDINFO
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Source RPM: netprofile CVE:
Status comment:
Attachments: Patch to convert some network.pm messages into translatable ones

Description Marcello Anni 2012-04-10 16:51:24 CEST
Description of problem:


hi,

when i switch to another networkprofile i've noticed that the italian translation is missing. the strings untranslated are "switching to network profile Name.. Please wait a few moments..." and "You are now using the network profile Name" or something similar. i didn't find these strings here:

http://svnweb.mageia.org/soft/drakx-net/trunk/po/it.po?revision=3149&view=markup

is it a bug or the strings are still untranslated? thanks


cheers,
Marcello
Comment 1 Marcello Anni 2012-04-29 14:23:57 CEST
ping
Comment 2 Yuri Chornoivan 2012-04-29 14:54:46 CEST
Some of these strings are probably from /lib/network.pm. Example (network.pm:439):

sub netprofile_set {
    my ($net, $profile) = @_;
    $net->{PROFILE} = $profile;
    system('/sbin/netprofile', 'switch', $net->{PROFILE});
    log::explanations(qq(Switching to "$net->{PROFILE}" profile));
}

They are untranslatable by design (no N() wrapping), so not extracted.

The string "You are now using the network profile Name" is translated in Italian (it's from draknetprofile:172) and should be used.

CC: (none) => yurchor

Comment 3 Marja Van Waes 2012-05-26 13:08:06 CEST
Hi,

This bug was filed against cauldron, but we do not have cauldron at the moment.

Please report whether this bug is still valid for Mageia 2.

Thanks :)

Cheers,
marja

Keywords: (none) => NEEDINFO

Rémi Verschelde 2012-06-02 16:49:09 CEST

CC: (none) => remi
Assignee: mageia-i18n => bugsquad
Summary: during the switch to another network profile italian localization is missing => Some netprofile strings can't be localized, please add them to drakx-net.pot
QA Contact: (none) => mageia-i18n

Manuel Hiebel 2012-06-25 05:24:30 CEST

Keywords: NEEDINFO => Junior_job

Comment 4 Rémi Verschelde 2013-09-26 14:01:05 CEST
Status on this?
Pinging Thierry.

@yurchor, tv: Are you able to fix this in the code and generate the pot file accordingly?

CC: (none) => thierry.vignaud

Comment 5 Yuri Chornoivan 2013-09-26 14:28:48 CEST
Created attachment 4377 [details]
Patch to convert some network.pm messages into translatable ones

Patch against git/master. Only extraction was tested. Needs an expertize from a Perl professional.
Comment 6 Samuel Verschelde 2015-05-17 01:27:03 CEST
What's the status for this bug? Are those strings still not translatable?

Keywords: (none) => NEEDINFO

Comment 7 Thierry Vignaud 2015-05-17 08:32:18 CEST
Those are log messages.
We don't usually translate those
Comment 8 Samuel Verschelde 2015-05-17 16:46:29 CEST
Closing as wontfix then.

Status: NEW => RESOLVED
Resolution: (none) => WONTFIX