Bug 14573

Summary: celestia has untranslated interface
Product: Mageia Reporter: Alex Loginov <loginov_alex>
Component: RPM PackagesAssignee: Shlomi Fish <shlomif>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Normal Keywords: Triaged
Version: Cauldron   
Target Milestone: ---   
Hardware: i586   
OS: Linux   
Whiteboard:
Source RPM: celestia CVE:
Status comment:
Attachments: Screen with problem

Description Alex Loginov 2014-11-16 15:18:44 CET
Description of problem: Menus "File, Navigation, Time, Options, Window, Help" are untranslated for celestia, but all translated strings are present in PO files.


Version-Release number of selected component (if applicable): celestia-1.6.1-13.mga5.i586.rpm


How reproducible: always


Steps to Reproduce:
1. install celestia
2. run celestia


Reproducible: 

Steps to Reproduce:
Alex Loginov 2014-11-16 15:19:08 CET

Keywords: (none) => Triaged
Assignee: bugsquad => shlomif

Comment 1 Shlomi Fish 2014-11-16 16:13:07 CET
Hi Alex,

do you have the appropriate locales-* package installed and the right locale set in LC_ALL or its equivalent. Otherwise, I am unable to build the celestia package from source without its patches to test it - I get too many compilation errors,  and it seems quite undermaintained. I'll try with a bm -l -p directory soon.
Comment 2 Shlomi Fish 2014-11-16 16:35:18 CET
Hi,

after I did "urpmi locales-es" and ran:

LC_ALL=es_ES.UTF-8 LANG=es_ES.UTF-8 LANGUAGE=es_ES:es /home/shlomif/apps/TO_DEL-celestia/bin/celestia 

which I built from source, I still see the untranslated interface there. So it seems to be a global problem with Celestia. I'll also check it on some VMs.

Regards,

-- Shlomi Fish
Comment 3 Alex Loginov 2014-11-16 16:40:59 CET
Hello, Shlomi,

Yes, of course, I have installed locales-* pkg. I have no the same issue for other programs, it's for celestia only and only for interface. Work area in the center is translated.
This issue is for mga2 also, for example, so you can use any Mageia installation for tests.
Comment 4 Alex Loginov 2014-11-16 16:42:30 CET
Created attachment 5606 [details]
Screen with problem

All is translated except interface.
Comment 5 Shlomi Fish 2014-11-16 17:29:14 CET
Hi, Alex.

I noticed the same symptoms (untranslated interface with the work area in the centre translated) on my Ubuntu VM. So the problem does not seem to be specific to Mageia. Perhaps file a bug upstream.

Regards,

-- Shlomi Fish
Shlomi Fish 2014-11-23 13:40:22 CET

Status: NEW => ASSIGNED

Comment 6 Alex Loginov 2014-11-29 17:45:17 CET
Hi, Shlomi,
I found patch: https://sourceforge.net/p/celestia/bugs/250/
Needs a little adaptation, but I believe you will fix this bug:

patching file celestia-1.6.1/src/celestia/gtk/actions.cpp
Hunk #18 succeeded at 678 with fuzz 2.
Hunk #19 FAILED at 699.
1 out of 26 hunks FAILED -- saving rejects to file celestia-1.6.1/src/celestia/gtk/actions.cpp.rej
patching file celestia-1.6.1/src/celestia/gtk/common.cpp
patching file celestia-1.6.1/src/celestia/gtk/common.h
patching file celestia-1.6.1/src/celestia/gtk/dialog-eclipse.cpp
Hunk #1 succeeded at 50 (offset -4 lines).
Hunk #2 succeeded at 97 (offset -4 lines).
Hunk #3 succeeded at 112 (offset -4 lines).
Hunk #4 succeeded at 128 (offset -4 lines).
Hunk #5 succeeded at 149 (offset -4 lines).
Hunk #6 succeeded at 162 (offset -4 lines).
Hunk #7 succeeded at 174 (offset -4 lines).
Hunk #8 succeeded at 183 (offset -4 lines).
Hunk #9 succeeded at 469 (offset -5 lines).
patching file celestia-1.6.1/src/celestia/gtk/dialog-eclipse.h
patching file celestia-1.6.1/src/celestia/gtk/dialog-goto.cpp
Hunk #1 succeeded at 35 (offset -3 lines).
Hunk #2 succeeded at 87 (offset -3 lines).
Hunk #3 succeeded at 96 (offset -3 lines).
Hunk #4 succeeded at 104 (offset -3 lines).
Hunk #5 succeeded at 113 (offset -3 lines).
patching file celestia-1.6.1/src/celestia/gtk/dialog-goto.h
patching file celestia-1.6.1/src/celestia/gtk/dialog-options.cpp
patching file celestia-1.6.1/src/celestia/gtk/dialog-options.h
patching file celestia-1.6.1/src/celestia/gtk/dialog-solar.cpp
patching file celestia-1.6.1/src/celestia/gtk/dialog-solar.h
patching file celestia-1.6.1/src/celestia/gtk/dialog-star.cpp
patching file celestia-1.6.1/src/celestia/gtk/dialog-star.h
patching file celestia-1.6.1/src/celestia/gtk/dialog-time.cpp
patching file celestia-1.6.1/src/celestia/gtk/dialog-time.h
patching file celestia-1.6.1/src/celestia/gtk/dialog-tour.cpp
Hunk #1 succeeded at 32 (offset -3 lines).
Hunk #2 succeeded at 42 (offset -3 lines).
patching file celestia-1.6.1/src/celestia/gtk/main.cpp
Hunk #1 FAILED at 83.
Hunk #4 FAILED at 237.
Hunk #5 succeeded at 230 with fuzz 1 (offset -15 lines).
Hunk #6 succeeded at 292 (offset -15 lines).
Hunk #7 succeeded at 332 (offset -15 lines).
Hunk #8 succeeded at 346 (offset -15 lines).
Hunk #9 succeeded at 388 (offset -15 lines).
Hunk #10 succeeded at 414 (offset -15 lines).
2 out of 10 hunks FAILED -- saving rejects to file celestia-1.6.1/src/celestia/gtk/main.cpp.rej
patching file celestia-1.6.1/src/celestia/gtk/menu-context.cpp
patching file celestia-1.6.1/src/celestia/gtk/settings-file.cpp
patching file celestia-1.6.1/src/celestia/gtk/splash.cpp
patching file celestia-1.6.1/src/celestia/gtk/ui.h
Comment 7 Shlomi Fish 2014-11-29 18:19:11 CET
Hi Alex,

(In reply to Alex Loginov from comment #6)
> Hi, Shlomi,
> I found patch: https://sourceforge.net/p/celestia/bugs/250/
> Needs a little adaptation, but I believe you will fix this bug:
> 

that patch does not seem to apply cleanly? Can you prepare a more up-to-date patch? I'm not using Celestia so I have little motivation to fix it.

Regards,

-- Shlomi Fish
Comment 8 Alex Loginov 2014-12-18 15:54:30 CET
Fixed in celestia-1.6.1-14.mga5.

Status: ASSIGNED => RESOLVED
Resolution: (none) => FIXED