Bug 108719 - French translation in Search & replace : "Graisse" instead of "Gras"
Summary: French translation in Search & replace : "Graisse" instead of "Gras"
Status: RESOLVED NOTABUG
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: UI (show other bugs)
Version:
(earliest affected)
5.3.3.2 release
Hardware: x86-64 (AMD64) Windows (All)
: medium trivial
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-06-23 15:11 UTC by Petit cœur
Modified: 2017-06-24 16:21 UTC (History)
5 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Petit cœur 2017-06-23 15:11:21 UTC
Description:
Dans la boite Rechercher & remplacer -> Autres options -> Attributs :
une des lignes à cocher s'appelle "Graisse". Je crois que ce devrait être "Gras".
Pardon de ne pas écrire en anglais.

Actual Results:  
Graisse

Expected Results:
Gras


Reproducible: Always

User Profile Reset: No

Additional Info:


User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:54.0) Gecko/20100101 Firefox/54.0
Comment 1 Petit cœur 2017-06-23 15:19:29 UTC
Libre Office Writer
Comment 2 sophie 2017-06-23 16:15:57 UTC
Translation:
------------
In the find & replace dialog box > other options > attributes: one of the check boxes is called "Font weight". I think it should be "Bold". Sorry for not writing in English. 
Actual result: Font weight
Expected: Bold
------------
It's not a localization problem as it is correctly translated in French. I let the UX guys decide if it's correct or could be more specific. So changing to UI and add Heiko to the list of cc. Sophie
Comment 3 Heiko Tietze 2017-06-24 06:58:54 UTC
(In reply to sophie from comment #2)
> In the find & replace dialog box > other options > attributes: one of the
> check boxes is called "Font weight". I think it should be "Bold".

Font weight is the property with the specification thin,...,normal,...,bold etc. https://www.w3.org/TR/css-fonts-3/#font-weight-prop 

No idea how it was supposed to work in this ugly dialog. @Stuart, do you know?
Comment 4 V Stuart Foote 2017-06-24 16:21:20 UTC
(In reply to Heiko Tietze from comment #3)
> 
> Font weight is the property with the specification thin,...,normal,...,bold
> etc. https://www.w3.org/TR/css-fonts-3/#font-weight-prop 
> 
> No idea how it was supposed to work in this ugly dialog. @Stuart, do you
> know?

The Attributes checklist [1] dialog of Find & Replace is populated and sorted from the RID_ATTR_NAMES listing in:
http://opengrok.libreoffice.org/xref/core/svx/source/items/svxitems.src

Which is submitted for l10n translation via Pootle as Sophie notes, and is correct.

IIUC actual choice of "Font Weight" to label SID_ATTR_CHAR_WEIGHT is quite old in the source dating to Java practices of OOo. But it is a common way to refer to the "boldness" of a font by its stroke weight. 

As you note, font-weight could describe multiple values of "boldness" [thin|extra-light|light|normal|medium|semi-bold|bold|extra-bold|black] and corresponding to use in font metrics, but in LibreOffice's UI we only implement a edit engine VCL rendered "bold" font effect, or "normal".

Similar challenging translations are "Font Posture" for normal|italic|oblique, and there we just have an "italic" rendering, or "normal".

But folks should understand that using the attribute dialog we don't search for a specific attribute--rather we search for a text or paragraph style class where the selected attribute value is set to other than defaults.

So don't see much justification to require rewording the Attribute listing, nor for annoyance of retranslating.

@Tamás ?

=-ref-=
[1] http://opengrok.libreoffice.org/xref/core/cui/source/dialogs/srchxtra.cxx#122