Jump to content

Topic on Project:Village Pump/Flow

VisualEditor : translation conflict definition for 'Reuse' wording

3
Wladek92 (talkcontribs)

Page https://www.mediawiki.org/wiki/Help:VisualEditor/User_guide/Citation_templates#Re-using_an_existing_footnote speaks about item 'Re-use' using the translation of 'cite-ve-dialog-reference-useexisting-tool' which is perfect on the EN page as 'Re-use' and coherent with what the menu displays.

On https://translatewiki.net/w/i.php?title=MediaWiki:Cite-ve-dialog-reference-useexisting-tool/fr&diff=prev&oldid=10006724 the FR translation was initially 'Réutiliser' and after some fights of translators has become 'déjà présente' which brings a non sens in our VE help page in Help:VisualEditor/User guide/Citation templates/fr#Réutiliser une référence existante which has becomes ' Ensuite dans le menu Sourcer, cliquez sur l'élément déjà présente. ' instead of being 'Ensuite dans le menu Sourcer, cliquez sur l'élément Réutiliser.' There is no element "déjà présente" in this VE menu.

Because the FR menu is coherent at execution, my question is rather directed to a developper (@Matma Rex @Whatamidoing (WMF)?) or to someone who can access the code;

Question: which value is used in the code to see the line Re-use of image https://commons.wikimedia.org/wiki/File:VisualEditor_Cite_menu_re-use.png ?

.... I dont think it was 'cite-ve-dialog-reference-useexisting-tool'. We 'll align the help page on the parameter.

Here are some hits for comparison :

{{int|cite-ve-dialog-reference-useexisting-tool/fr}} déjà présente

{{int|cite-ve-dialog-reference-useexisting-tool}} Re-use

{{int|Citoid-citoiddialog-mode-reuse/fr}} Réutiliser

{{int|Citoid-citoiddialog-mode-reuse}} Re-use

Thanks.

Christian 🇫🇷 FR (talk) 21:04, 1 July 2022 (UTC)

Matma Rex (talkcontribs)

Question: which value is used in the code to see the line Re-use of image https://commons.wikimedia.org/wiki/File:VisualEditor_Cite_menu_re-use.png ?

The message used for this is: cite-ve-dialog-reference-useexisting-tool

Unfortunately, this message is also used as part of the phrase "Re-use reference" when citations are in the "Insert" dropdown (see my other answer at Topic:Wyi8yvgcxl887ezq). In this case, the text is composed of cite-ve-othergroup-item + cite-ve-dialog-reference-useexisting-tool.

This is probably what is causing the conflict, as it is impossible to translate correctly to fit both contexts in many languages. This problem is reported as T223349.

I suggest optimizing the translation for the first case, where the message is used by itself, as that is used on more projects; and doing the best you can in the other message to make it somewhat understandable (e.g. something like "Reference: Re-use" might work).

Wladek92 (talkcontribs)