https://issues.apache.org/ooo/show_bug.cgi?id=122518
--- Comment #16 from Ariel Constenla-Haile <[email protected]> --- (In reply to jan iversen from comment #15) > >> /main/officecfg/registry/data/org/openoffice/Office/Writer.xcu > > >a revert here is not enough, this needs a fix by adding x-no-translate in > >the respective places. > > If a revert is not enough, then it is something out of my control, I dont > really have a clue what the file is intented to do. It is simply adding x-no-translate and then verifying that things works as expected. x-no-translate tells localize not to extract these strings when generating the SDF file, so: * Before the fix: - Generate a SDF file: ]$ localize -e -l en-US -f $OUTDIR/aoo400.sdf - Grep that file for the build breaking entries: ]$ grep -E --line-number 'TabStop|CaptionOrderNumberingFirst|AutoMnemonic|DialogScale' $OUTDIR/aoo400.sdf 52559:officecfg registry\data\org\openoffice\Office\Common.xcu 0 value ..Common.View.Localisation AutoMnemonic 0 en-US true 20130515 21:47:47 52560:officecfg registry\data\org\openoffice\Office\Common.xcu 0 value ..Common.View.Localisation DialogScale 0 en-US 10 20130515 21:47:47 53772:officecfg registry\data\org\openoffice\Office\Writer.xcu 0 value ..Writer.Insert.Caption CaptionOrderNumberingFirst 0 en-US true 20130515 21:47:47 53793:officecfg registry\data\org\openoffice\Office\Writer.xcu 0 value ..Writer.Layout.Other TabStop 0 en-US 740 20130515 21:47:47 true, 10, 740 are marked as translatable. This caused an error on the configuration manager when the boolean values were translated. The error appears as a build breaker in all platforms when building a package format that runs unopkg sync; on Windows the installer fails, because it runs unopkg.exe; on Linux the application failed to start. * After the fix: repeat the same steps, grep shows there are no build breaking entries any more. The other kind of error was to assigning a values to en-US instead of the original. For example, CaptionOrderNumberingFirst with value true should be applied only to hu-HU, all other languages default to false. To verify: Test with locale en-US ---------------------- - Just in case, reset your profile - New Writer document - Open dialog from menu "Tools" - "Options..." - in the "Options" dialog, select OpenOffice Writer - AutoCaption * Before the fix: "Caption order" list box has "Numbering first" and the preview displays "1. Table" * After the fix: "Caption order" list box has "Category first" and the preview displays "Table 1:" Test with locale hu-HU ---------------------- Repeat same steps as before, result after the fix: "Feliratsorrend" list box has "Számozás elóször" and the preview displays "1. táblázat" For the other changes a similar verification is needed in the respective locales. -- You are receiving this mail because: You are on the CC list for the bug. You are the assignee for the bug.
