Show the desktop shell in Chinese under zh_CN
This commit is contained in:
1 parent
e590f22de6
commit
e236713d9f
55 files changed
+867
-331
No files matched your search
@@ -0,0 +1,12 @@
|
||||
pragma Singleton
|
||||
import QtQuick
|
||||
import "Tr.js" as Tr
|
||||
|
||||
// tr("English %1", arg) returns the Chinese entry under zh_CN; plain JS imports Tr.js for the same.
|
||||
QtObject {
|
||||
readonly property bool chinese: Tr.chinese
|
||||
|
||||
function tr() {
|
||||
return Tr.tr.apply(null, arguments)
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user