summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Arne Vestbø <tor.arne.vestbo@qt.io>2022-10-19 16:54:13 +0200
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2022-10-21 09:31:21 +0000
commit587a56a864c5dd5b7fb8483378e5d96cdb44b175 (patch)
treea5cfce8913f1ccfe8b3ebe6d5990d1324245d231
parent638927ef29770fe25f1e405156580c9fae190b1e (diff)
downloadqtdoc-587a56a864c5dd5b7fb8483378e5d96cdb44b175.tar.gz
Remove section about translating application menus on macOS
The information applied only to Carbon Change-Id: Iee6d9e7afbd3846ed50a6030da3c1925d19a5ee4 Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io> (cherry picked from commit f9d56ead72053f3c90e69d88a4060da9f72abff9) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-rw-r--r--doc/src/platforms/macos.qdoc19
-rw-r--r--doc/src/snippets/code/doc_src_mac-differences.qdoc19
2 files changed, 0 insertions, 38 deletions
diff --git a/doc/src/platforms/macos.qdoc b/doc/src/platforms/macos.qdoc
index a927e1a9..3592f74e 100644
--- a/doc/src/platforms/macos.qdoc
+++ b/doc/src/platforms/macos.qdoc
@@ -601,25 +601,6 @@
QCoreApplication::applicationDirPath() can be used to determine
the path of the binary within the bundle.
- \section2 Translating the Application Menu and Native Dialogs
-
- The items in the Application Menu will be merged correctly for
- localized applications, but they will not show up translated
- until the application bundle contains a localized resource folder.
- to the application bundle.
-
- Essentially, there needs to be a file called
- \e locversion.plist. Here is an example of an application with Norwegian
- localization:
-
- \snippet snippets/code/doc_src_mac-differences.qdoc 2
-
- Afterwards, when the application is run with the preferred language set to
- Norwegian, the menu items should display \gui Avslutt instead of \gui Quit.
-
- The \l{http://developer.apple.com/library/mac/#documentation/CoreFoundation/Conceptual/CFBundles/BundleTypes/BundleTypes.html#//apple_ref/doc/uid/10000123i-CH101-SW13}{Bundle Programming Guide}
- contains information about bundles and the localized resource folder.
-
\section2 Using Native Cocoa Panels
Qt's event dispatcher is more flexible than what Cocoa offers, and lets the
diff --git a/doc/src/snippets/code/doc_src_mac-differences.qdoc b/doc/src/snippets/code/doc_src_mac-differences.qdoc
index ea931b59..cf9983b8 100644
--- a/doc/src/snippets/code/doc_src_mac-differences.qdoc
+++ b/doc/src/snippets/code/doc_src_mac-differences.qdoc
@@ -18,22 +18,3 @@ QMAKE_LFLAGS_SONAME = -Wl,-install_name,@executable_path/../Frameworks/
CFRelease(macPath);
#endif
//! [1]
-
-
-//! [2]
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN"
-"http://www.apple.com/DTDs/PropertyList-1.0.dtd">
-<plist version="1.0">
-<dict>
- <key>LprojCompatibleVersion</key>
- <string>123</string>
- <key>LprojLocale</key>
- <string>no</string>
- <key>LprojRevisionLevel</key>
- <string>1</string>
- <key>LprojVersion</key>
- <string>123</string>
-</dict>
-</plist>
-//! [2]