Apache OpenOffice (AOO) Bugzilla – Issue 122649
Color names not found for translation
Last modified: 2013-12-18 09:37:40 UTC
Created attachment 80956 [details] Color selector translation eror Steps for reproduction: 1)Sidebar 2)Properties deck 3)'More options' button 4)Font type, Font effects or Borders tab 5)color selector 6)some of the color names are not translated. I couldn't find them in the project. Please see attachment.
It looks as if you are using a color palette migrated from 3.4 The color palette in 4.0.0 does not have these colors anymore. Please check standard.soc in your user profile folder.
(In reply to Ariel Constenla-Haile from comment #1) > It looks as if you are using a color palette migrated from 3.4 > The color palette in 4.0.0 does not have these colors anymore. > Please check standard.soc in your user profile folder. Thank you. Could you please tell me where that is located?
(In reply to Pedro Albuquerque from comment #2) > (In reply to Ariel Constenla-Haile from comment #1) > > It looks as if you are using a color palette migrated from 3.4 > > The color palette in 4.0.0 does not have these colors anymore. > > Please check standard.soc in your user profile folder. > > Thank you. Could you please tell me where that is located? In Windows 7: C:\Users\ariel/AppData\Roaming\OpenOffice\4/user\config\standard.soc The default palette is under C:\Program Files (x86)\OpenOffice 4\presets\config\standard.soc
(In reply to Ariel Constenla-Haile from comment #3) > (In reply to Pedro Albuquerque from comment #2) > > (In reply to Ariel Constenla-Haile from comment #1) > > > It looks as if you are using a color palette migrated from 3.4 > > > The color palette in 4.0.0 does not have these colors anymore. > > > Please check standard.soc in your user profile folder. > > > > Thank you. Could you please tell me where that is located? > > In Windows 7: > > C:\Users\ariel/AppData\Roaming\OpenOffice\4/user\config\standard.soc > > The default palette is under > > C:\Program Files (x86)\OpenOffice 4\presets\config\standard.soc Ok, I found it. But also found a folder from openoffice 3 at appdata\roaming as well, wich I deleted. I don't know why it was there after uninstalling V.3.4. I also uninstalled AOO 4 and re-installed again. This solved the issue. Maybe the migration process should prevent this from hapenning.
Should I do anything else about this issue? Mark it as resolved or something? Thanks.
@Pedro: Yes, please mark it as resolved (NOTABUG maybe?). Thank you.
*** Issue 122650 has been marked as a duplicate of this issue. ***
Created attachment 80981 [details] Confirmed with french version We have 11 color names with "Jaune green..." displayed in the palette.
Same thing for Portuguese - PT and it seems it's not in Pootle for translations.
In SvxUnoConvertResourceString function, each color names from standard.soc are converted from en to target locale. Yellow is there before yellow green in the list of the colors. So yellow matches with yellow green before expected one. This is happen for Blue classic also.
(In reply to hanya from comment #10) > In SvxUnoConvertResourceString function, each color names from standard.soc > are converted from en to target locale. > Yellow is there before yellow green in the list of the colors. > So yellow matches with yellow green before expected one. > This is happen for Blue classic also. You are right but "azul classic" should be "azul clássico", like "amarelo green" should be "amarelo esverdeado". You can consider these two the correct terms. Neither this nor bug 122648 are release blockers but the translation is still not done.
Created attachment 80985 [details] Easy fix patch As easy fix, the attached patch changes the order of the list of color names. Yellow green is tried to match before yellow. And blue classic and blue are the same manner.
ALG: This just changes the order in the SvxUnoColorNameDefResId and SvxUnoColorNameResId, thus the order in the popup color dialogs will not be affected. If it corrects the error (which I will check now) we should take it.
ALG: Looks good, the main point that the number and order in SvxUnoColorNameDefResId and SvxUnoColorNameResId is the same to guarantee correct translations from/to translated and non-translated color names is given. Setting request flag. @JSC: We should add this change @hanya: Thanks!
grant showstopper issue, fix in place and no translation update necessary
ALG: Added some comments and comitted, done. Thanks hanya!
Thanks. Verified on AOO4 RC ja.