https://bugs.freedesktop.org/show_bug.cgi?id=62442

--- Comment #34 from Tor Lillqvist <[email protected]> ---
One can use the codesign command to verify that a signed app bundle is intact.
Running it on a LibreOffice.app that has been the target of a language pack
installation, one gets:


lilla-my:~ $ codesign --verify -v LibreOffice.app
LibreOffice.app: a sealed resource is missing or invalid
In architecture: i386
resource added:
/Users/tml/LibreOffice.app/Contents/Resources/sv.lproj/InfoPlist.strings

which indeed makes it clear that installing one or more language packs breaks
the code signature of the app bundle. The "Resources" folder is always included
when calculating the signature of an app bundle.

The language-specific InfoPlist.strings files are quite small and seem contain
translations for the names of the ODF document types:


lilla-my:~ $ iconv -f UTF-16 -t UTF-8
<LibreOffice.app/Contents/Resources/sv.lproj/InfoPlist.strings
"OpenDocument Text" = "OpenDocument text";
"OpenDocument Text Template" = "OpenDocument textmall";
"OpenDocument Master" = "OpenDocument samlingsdokument";
"OpenDocument Formula" = "OpenDocument formel";
"OpenDocument Presentation" = "OpenDocument presentation";
"OpenDocument Presentation Template" = "OpenDocument presentationsmall";
"OpenDocument Drawing" = "OpenDocument teckning";
"OpenDocument Drawing Template" = "OpenDocument teckningsmall";
"OpenDocument Spreadsheet" = "OpenDocument kalkylblad";
"OpenDocument Spreadsheet Template" = "OpenDocument kalkylbladsmall";
"OpenDocument Database" = "OpenDocument databas";

Why these translations  have to be in such InfoPlis.strings file, but why
translations for other document types need not, I don't know.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to