Bug 17615 - [mga6-dev1] grub 1 default entry is not translated into French anymore
Summary: [mga6-dev1] grub 1 default entry is not translated into French anymore
Status: RESOLVED DUPLICATE of bug 17971
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Anne Nicolas
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-01-25 10:23 CET by Nicolas Salguero
Modified: 2016-04-05 19:47 CEST (History)
1 user (show)

See Also:
Source RPM: mageia-gfxboot-theme
CVE:
Status comment:


Attachments
The file from install (151.82 KB, application/octet-stream)
2016-01-28 09:23 CET, Nicolas Salguero
Details

Description Nicolas Salguero 2016-01-25 10:23:52 CET
Hi,

In Mga5, default GRUB 1 entry shows "Amorcer Mageia 5".  In Cauldron, it says "Boot Mageia 5".

Best regards,

Nico.
Comment 1 Marja Van Waes 2016-01-27 17:32:10 CET
Weird, because afaics grub in cauldron is the same as in Mga5, it only got rebuilt against new gcc


What is the output of 

  locale

?

Is this in a system you installed from a QA pre-6dev1 iso? If so, which iso, from which date + time ?

If applicable (so for non-live install/upgrade), please also attach

 /root/drakx/report.bug(.xz) from the time of install/update (compress if needed)

Keywords: (none) => NEEDINFO
CC: (none) => marja11
Source RPM: (none) => grub

Comment 2 Nicolas Salguero 2016-01-28 09:23:02 CET
Created attachment 7382 [details]
The file from install

Hi,

locale says:
"""
LANG=fr_FR.UTF-8
LC_CTYPE="fr_FR.UTF-8"
LC_NUMERIC="fr_FR.UTF-8"
LC_TIME="fr_FR.UTF-8"
LC_COLLATE="fr_FR.UTF-8"
LC_MONETARY="fr_FR.UTF-8"
LC_MESSAGES="fr_FR.UTF-8"
LC_PAPER="fr_FR.UTF-8"
LC_NAME="fr_FR.UTF-8"
LC_ADDRESS="fr_FR.UTF-8"
LC_TELEPHONE="fr_FR.UTF-8"
LC_MEASUREMENT="fr_FR.UTF-8"
LC_IDENTIFICATION="fr_FR.UTF-8"
LC_ALL=
"""

My Cauldron VM was initially a Mga5 x86_64 fresh install updated to Cauldron when there was no ISO for mga6-dev1 and I already had the problem (but I forgot the date when the problem appeared).

Then I did a fresh install with Mageia-6-dev1-x86_64-DVD.iso (version 2016-01-21) in the same virtual disk and the problem was still there.  Should I try installing on a totally new virtual disk?

Moreover, it think that, during Mga5 development, the default boot entry was "Amorcer Mageia Cauldron" (i.e. there was no reference to Mga4 anymore).

Best regards,

Nico.
Comment 3 Nicolas Salguero 2016-01-28 10:14:52 CET
I also tested a fresh install on a totally new virtual disk and got the same problem.

Then, with some more tests, I figured out that the problem does not come from the grub pkg but from the mageia-gfxboot-theme one: if I replace mageia-gfxboot-theme-4.5.6.9-1.mga6.x86_64.rpm (Cauldron version) by mageia-gfxboot-theme-4.5.6.6-1.mga5.x86_64.rpm (Mga5 version) the French translation is here again at reboot.

Source RPM: grub => mageia-gfxboot-theme

Comment 4 Nicolas Salguero 2016-01-28 11:38:47 CET
I finally found the problem: in mageia-gfxboot-theme-4.5.6.9.tar.xz from mageia-gfxboot-theme SRPM, in "po" directory, the *.po files have been updated to replace "Mageia 5" by "Mageia 6 Cauldron" but the file bootloader.pot has not been updated.

In that file, if I also replace all occurrences of "Mageia 5" by "Mageia 6 Cauldron" and rebuild the package, the translations are correct.
Comment 5 Marja Van Waes 2016-01-28 18:12:37 CET
(In reply to Nicolas Salguero from comment #4)
> I finally found the problem: in mageia-gfxboot-theme-4.5.6.9.tar.xz from
> mageia-gfxboot-theme SRPM, in "po" directory, the *.po files have been
> updated to replace "Mageia 5" by "Mageia 6 Cauldron" but the file
> bootloader.pot has not been updated.
> 
> In that file, if I also replace all occurrences of "Mageia 5" by "Mageia 6
> Cauldron" and rebuild the package, the translations are correct.

ah, that seems to have been forgotten in this commit:

http://gitweb.mageia.org/software/design/bootloader-theme/commit/?id=488f8251278b653e417c33f3e26d65092bd31238

@ Anne

I can't find where the bootloader.pot file should get the "Mageia 6 Cauldron" from, only find that there's "product=cauldron" in the config.

Or is just changing the bootloader.pot file like Nicolas mentioned enough?

Keywords: NEEDINFO => (none)
Assignee: bugsquad => ennael1
Whiteboard: (none) => 6dev1

Comment 6 Marja Van Waes 2016-04-05 19:47:22 CEST
This is the same as bug 17971, I'll close this one as dup, even if it was filed earlier, because that one contains information about what was changed in git.

*** This bug has been marked as a duplicate of bug 17971 ***

Keywords: (none) => 6dev1
Status: NEW => RESOLVED
Resolution: (none) => DUPLICATE
Whiteboard: 6dev1 => (none)


Note You need to log in before you can comment on or make changes to this bug.