Bug 21264

Summary: Untranslatable string for all languages on download page for manual
Product: Websites Reporter: psyca <linux>
Component: www.mageia.orgAssignee: Filip Komar <filip.komar>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Normal CC: filip.komar
Version: trunk   
Target Milestone: ---   
Hardware: All   
OS: Linux   
URL: https://www.mageia.org/de/downloads/get/?q=Mageia6-DrakX-fr-pdf&doc=yes
Whiteboard:
Source RPM: CVE:
Status comment:

Description psyca 2017-07-17 16:14:03 CEST
Description of problem:
After selecting an manual from the homepage in an non-english language, then it shows how big the file is, but with "around" before, which cant get translated.

original sting:
(download size is about %s).

original - how it looks
(download size is about around 2MB)

Becouse "around 2MB" looks like hardcoded (cant find the sting to translate it), it also shows in every language "around 2MB".

German :
(Größe des Downloads beträgt around 2 MB)
France :
(taille d’environ around 2 MB)
Comment 1 Filip Komar 2017-07-17 16:24:56 CEST
I'll probably make "around" word translatable as is now hardcoded here:
http://gitweb.mageia.org/web/www/tree/en/downloads/get/definitions_doc.ini

CC: (none) => filip.komar
Status: NEW => ASSIGNED
Assignee: atelier-bugs => filip.komar

Comment 2 Manuel Hiebel 2017-07-17 16:52:52 CEST
or ~ ? :)
Comment 3 Mageia Robot 2017-07-17 22:33:48 CEST
commit 71449d0920edea99922320d19b34e969484e50b1
Author: filip <filip.komar@...>
Date:   Mon Jul 17 22:31:31 2017 +0200

    fix for mga#21264
    
    just cut off the text before number
---
 Commit Link:
   http://gitweb.mageia.org/web/www/commit/?id=71449d0920edea99922320d19b34e969484e50b1
Comment 4 Filip Komar 2017-07-17 22:40:06 CEST
Sometimes simple idea can be the simple solution. Even if that means regex ;).

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