Bug 21264 - Untranslatable string for all languages on download page for manual
Summary: Untranslatable string for all languages on download page for manual
Status: RESOLVED FIXED
Alias: None
Product: Websites
Classification: Unclassified
Component: www.mageia.org (show other bugs)
Version: trunk
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Filip Komar
QA Contact:
URL: https://www.mageia.org/de/downloads/g...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-07-17 16:14 CEST by psyca
Modified: 2017-07-17 22:40 CEST (History)
1 user (show)

See Also:
Source RPM:
CVE:
Status comment:


Attachments

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


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