diff --git a/data/ukui-menu.desktop b/data/ukui-menu.desktop index e69de29..2f91bdd 100644 --- a/data/ukui-menu.desktop +++ b/data/ukui-menu.desktop @@ -0,0 +1,14 @@ +[Desktop Entry] +Name=ukui-menu +Name[zh_CN]=开始菜单 +Name[tr_TR]=Başlangıç menüsü +Comment=A simple application launcher +Comment[zh_CN]=简易的应用程序启动器 +Exec=/usr/bin/ukui-menu %u +Icon=ukui-menu +Terminal=false +Type=Application +NoDisplay=true +OnlyShowIn=UKUI +X-UKUI-AutoRestart=true +X-UKUI-Autostart-Phase=Application diff --git a/qml/extensions/RecentFileExtension.qml b/qml/extensions/RecentFileExtension.qml index e648dcd..023cbd3 100644 --- a/qml/extensions/RecentFileExtension.qml +++ b/qml/extensions/RecentFileExtension.qml @@ -68,7 +68,7 @@ UkuiMenuExtension { } delegate: AppControls2.StyleBackground { - width: parent.width - 18 + width: ListView.view.width - 18 height: 40 useStyleTransparent: false alpha: itemArea.pressed ? 1 : itemArea.hovered ? 0.65 : 0 diff --git a/translations/ukui-menu_bo_CN.ts b/translations/ukui-menu_bo_CN.ts index a2c111f..8fbca97 100644 --- a/translations/ukui-menu_bo_CN.ts +++ b/translations/ukui-menu_bo_CN.ts @@ -170,6 +170,34 @@ power + + Switch user + + + + Hibernate + + + + Suspend + + + + Lock Screen + + + + Log Out + + + + Reboot + + + + Power Off + + UkuiMenu::RecentFileExtension diff --git a/translations/ukui-menu_zh_CN.ts b/translations/ukui-menu_zh_CN.ts index 113e6b4..3a0438c 100644 --- a/translations/ukui-menu_zh_CN.ts +++ b/translations/ukui-menu_zh_CN.ts @@ -170,6 +170,34 @@ power 电源 + + Switch user + 切换用户 + + + Hibernate + 睡眠 + + + Suspend + 休眠 + + + Lock Screen + 锁定屏幕 + + + Log Out + 注销 + + + Reboot + 重启 + + + Power Off + 关机 + UkuiMenu::RecentFileExtension