From a8a02392080af8a4b52b067c768e3617c4bd400c Mon Sep 17 00:00:00 2001 From: knm100 <166389780+knm100@users.noreply.github.com> Date: Sun, 6 Oct 2024 15:15:38 +0800 Subject: [PATCH 1/9] Create zh_CN.po --- lang/zh_CN.po | 1 + 1 file changed, 1 insertion(+) create mode 100644 lang/zh_CN.po diff --git a/lang/zh_CN.po b/lang/zh_CN.po new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/lang/zh_CN.po @@ -0,0 +1 @@ + From 9c40b0155b12fc12b7de6ee10f874beea49b9194 Mon Sep 17 00:00:00 2001 From: knm100 <166389780+knm100@users.noreply.github.com> Date: Sun, 6 Oct 2024 15:17:47 +0800 Subject: [PATCH 2/9] Update zh_CN.po --- lang/zh_CN.po | 672 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 672 insertions(+) diff --git a/lang/zh_CN.po b/lang/zh_CN.po index 8b13789..765d628 100644 --- a/lang/zh_CN.po +++ b/lang/zh_CN.po @@ -1 +1,673 @@ +# English translations for udiskie package. +# Copyright (C) 2024 Thomas Gläßle +# This file is distributed under the same license as the udiskie package. +# Automatically generated, 2024. +# +msgid "" +msgstr "" +"Project-Id-Version: udiskie 2.5.3\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2024-09-04 05:17+0000\n" +"PO-Revision-Date: 2024-09-04 05:17+0000\n" +"Last-Translator: Automatically generated\n" +"Language-Team: none\n" +"Language: zh_CN\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#: ../udiskie/cli.py:46 +#, python-brace-format +msgid "These options are mutually exclusive: {0}" +msgstr "These options are mutually exclusive: {0}" + +#: ../udiskie/cli.py:119 +msgid "" +"\n" +" Note, that the options in the individual groups are mutually exclusive.\n" +"\n" +" The config file can be a JSON or preferably a YAML file. For an\n" +" example, see the MAN page (or doc/udiskie.8.txt in the repository).\n" +" " +msgstr "" +"\n" +" Note, that the options in the individual groups are mutually exclusive.\n" +"\n" +" The config file can be a JSON or preferably a YAML file. For an\n" +" example, see the MAN page (or doc/udiskie.8.txt in the repository).\n" +" " + +#: ../udiskie/cli.py:139 +#, python-format +msgid "%(message)s" +msgstr "%(message)s" + +#: ../udiskie/cli.py:141 +#, python-format +msgid "%(levelname)s [%(asctime)s] %(name)s: %(message)s" +msgstr "%(levelname)s [%(asctime)s] %(name)s: %(message)s" + +#: ../udiskie/cli.py:386 +msgid "" +"Typelib for 'libnotify' is not available. Possible causes include:\n" +"\t- libnotify is not installed\n" +"\t- the typelib is provided by a separate package\n" +"\t- libnotify was built with introspection disabled\n" +"\n" +"Starting udiskie without notifications." +msgstr "" +"Typelib for 'libnotify' is not available. Possible causes include:\n" +"\t- libnotify is not installed\n" +"\t- the typelib is provided by a separate package\n" +"\t- libnotify was built with introspection disabled\n" +"\n" +"Starting udiskie without notifications." + +#: ../udiskie/cli.py:400 +msgid "" +"Not run within X or Wayland session.\n" +"Starting udiskie without tray icon.\n" +msgstr "" +"Not run within X or Wayland session.\n" +"Starting udiskie without tray icon.\n" + +#: ../udiskie/cli.py:407 +msgid "" +"Typelib for 'Gtk 3.0' is not available. Possible causes include:\n" +"\t- GTK3 is not installed\n" +"\t- the typelib is provided by a separate package\n" +"\t- GTK3 was built with introspection disabled\n" +"Starting udiskie without tray icon.\n" +msgstr "" +"Typelib for 'Gtk 3.0' is not available. Possible causes include:\n" +"\t- GTK3 is not installed\n" +"\t- the typelib is provided by a separate package\n" +"\t- GTK3 was built with introspection disabled\n" +"Starting udiskie without tray icon.\n" + +#: ../udiskie/cli.py:417 +msgid "" +"Typelib for 'AppIndicator3 0.1' is not available. Possible causes include:\n" +"\t- libappindicator is not installed\n" +"\t- the typelib is provided by a separate package\n" +"\t- it was built with introspection disabled\n" +"Starting udiskie without appindicator icon.\n" +msgstr "" +"Typelib for 'AppIndicator3 0.1' is not available. Possible causes include:\n" +"\t- libappindicator is not installed\n" +"\t- the typelib is provided by a separate package\n" +"\t- it was built with introspection disabled\n" +"Starting udiskie without appindicator icon.\n" + +#: ../udiskie/cli.py:436 +msgid "" +"The 'notify_command' option was renamed to 'event_hook'. The old name still " +"works, but may be removed in a future version. Please change your command " +"line and config to use the new name." +msgstr "" +"The 'notify_command' option was renamed to 'event_hook'. The old name still " +"works, but may be removed in a future version. Please change your command " +"line and config to use the new name." + +#: ../udiskie/cli.py:443 +msgid "Ignoring 'notify_command' in favor of 'event_hook'." +msgstr "Ignoring 'notify_command' in favor of 'event_hook'." + +#: ../udiskie/config.py:131 +msgid "Unknown matching attribute: {!r}" +msgstr "Unknown matching attribute: {!r}" + +#: ../udiskie/config.py:133 +#, python-brace-format +msgid "new rule: {0}" +msgstr "new rule: {0}" + +#: ../udiskie/config.py:136 +#, python-brace-format +msgid "{0} -> {1}" +msgstr "{0} -> {1}" + +#: ../udiskie/config.py:155 +#, python-brace-format +msgid "{0} matched {1}" +msgstr "{0} matched {1}" + +#: ../udiskie/config.py:232 +#, python-brace-format +msgid "Failed to read config file: {0}" +msgstr "Failed to read config file: {0}" + +#: ../udiskie/config.py:235 +msgid "Failed to read {0!r}: {1}" +msgstr "Failed to read {0!r}: {1}" + +#: ../udiskie/depend.py:59 +msgid "" +"Missing runtime dependency GTK 3. Falling back to GTK 2 for password prompt" +msgstr "" +"Missing runtime dependency GTK 3. Falling back to GTK 2 for password prompt" + +#: ../udiskie/depend.py:65 +msgid "X server not connected!" +msgstr "X server not connected!" + +#: ../udiskie/mount.py:29 +#, python-brace-format +msgid "failed to {0} {1}: {2}" +msgstr "failed to {0} {1}: {2}" + +#: ../udiskie/mount.py:117 +#, python-brace-format +msgid "not browsing {0}: not mounted" +msgstr "not browsing {0}: not mounted" + +#: ../udiskie/mount.py:120 +#, python-brace-format +msgid "not browsing {0}: no program" +msgstr "not browsing {0}: no program" + +#: ../udiskie/mount.py:122 ../udiskie/mount.py:142 +#, python-brace-format +msgid "opening {0} on {0.mount_paths[0]}" +msgstr "opening {0} on {0.mount_paths[0]}" + +#: ../udiskie/mount.py:124 ../udiskie/mount.py:144 +#, python-brace-format +msgid "opened {0} on {0.mount_paths[0]}" +msgstr "opened {0} on {0.mount_paths[0]}" + +#: ../udiskie/mount.py:137 +#, python-brace-format +msgid "not opening terminal {0}: not mounted" +msgstr "not opening terminal {0}: not mounted" + +#: ../udiskie/mount.py:140 +#, python-brace-format +msgid "not opening terminal {0}: no program" +msgstr "not opening terminal {0}: no program" + +#: ../udiskie/mount.py:158 +#, python-brace-format +msgid "not mounting {0}: unhandled device" +msgstr "not mounting {0}: unhandled device" + +#: ../udiskie/mount.py:161 +#, python-brace-format +msgid "not mounting {0}: already mounted" +msgstr "not mounting {0}: already mounted" + +#: ../udiskie/mount.py:165 +#, python-brace-format +msgid "mounting {0} with {1}" +msgstr "mounting {0} with {1}" + +#: ../udiskie/mount.py:168 +#, python-brace-format +msgid "mounted {0} on {1}" +msgstr "mounted {0} on {1}" + +#: ../udiskie/mount.py:174 +msgid "" +"Mounting NTFS device with default driver.\n" +"Please install 'ntfs-3g' if you experience problems or the device is " +"readonly." +msgstr "" +"Mounting NTFS device with default driver.\n" +"Please install 'ntfs-3g' if you experience problems or the device is " +"readonly." + +#: ../udiskie/mount.py:188 +#, python-brace-format +msgid "not unmounting {0}: unhandled device" +msgstr "not unmounting {0}: unhandled device" + +#: ../udiskie/mount.py:191 +#, python-brace-format +msgid "not unmounting {0}: not mounted" +msgstr "not unmounting {0}: not mounted" + +#: ../udiskie/mount.py:193 +#, python-brace-format +msgid "unmounting {0}" +msgstr "unmounting {0}" + +#: ../udiskie/mount.py:195 +#, python-brace-format +msgid "unmounted {0}" +msgstr "unmounted {0}" + +#: ../udiskie/mount.py:209 +#, python-brace-format +msgid "not unlocking {0}: unhandled device" +msgstr "not unlocking {0}: unhandled device" + +#: ../udiskie/mount.py:212 +#, python-brace-format +msgid "not unlocking {0}: already unlocked" +msgstr "not unlocking {0}: already unlocked" + +#: ../udiskie/mount.py:215 +#, python-brace-format +msgid "not unlocking {0}: no password prompt" +msgstr "not unlocking {0}: no password prompt" + +#: ../udiskie/mount.py:229 +#, python-brace-format +msgid "not unlocking {0}: cancelled by user" +msgstr "not unlocking {0}: cancelled by user" + +#: ../udiskie/mount.py:234 +#, python-brace-format +msgid "unlocking {0} using keyfile" +msgstr "unlocking {0} using keyfile" + +#: ../udiskie/mount.py:237 +#, python-brace-format +msgid "unlocking {0}" +msgstr "unlocking {0}" + +#: ../udiskie/mount.py:240 +#, python-brace-format +msgid "unlocked {0}" +msgstr "unlocked {0}" + +#: ../udiskie/mount.py:249 +#, python-brace-format +msgid "no cached key for {0}" +msgstr "no cached key for {0}" + +#: ../udiskie/mount.py:251 +#, python-brace-format +msgid "unlocking {0} using cached password" +msgstr "unlocking {0} using cached password" + +#: ../udiskie/mount.py:255 +#, python-brace-format +msgid "failed to unlock {0} using cached password" +msgstr "failed to unlock {0} using cached password" + +#: ../udiskie/mount.py:258 +#, python-brace-format +msgid "unlocked {0} using cached password" +msgstr "unlocked {0} using cached password" + +#: ../udiskie/mount.py:266 +msgid "No matching keyfile rule for {}." +msgstr "No matching keyfile rule for {}." + +#: ../udiskie/mount.py:272 +#, python-brace-format +msgid "keyfile for {0} not found: {1}" +msgstr "keyfile for {0} not found: {1}" + +#: ../udiskie/mount.py:274 +#, python-brace-format +msgid "unlocking {0} using keyfile {1}" +msgstr "unlocking {0} using keyfile {1}" + +#: ../udiskie/mount.py:278 +#, python-brace-format +msgid "failed to unlock {0} using keyfile" +msgstr "failed to unlock {0} using keyfile" + +#: ../udiskie/mount.py:281 +#, python-brace-format +msgid "unlocked {0} using keyfile" +msgstr "unlocked {0} using keyfile" + +#: ../udiskie/mount.py:307 +#, python-brace-format +msgid "not locking {0}: unhandled device" +msgstr "not locking {0}: unhandled device" + +#: ../udiskie/mount.py:310 +#, python-brace-format +msgid "not locking {0}: not unlocked" +msgstr "not locking {0}: not unlocked" + +#: ../udiskie/mount.py:312 +#, python-brace-format +msgid "locking {0}" +msgstr "locking {0}" + +#: ../udiskie/mount.py:314 +#, python-brace-format +msgid "locked {0}" +msgstr "locked {0}" + +#: ../udiskie/mount.py:351 ../udiskie/mount.py:394 +#, python-brace-format +msgid "not adding {0}: unhandled device" +msgstr "not adding {0}: unhandled device" + +#: ../udiskie/mount.py:430 ../udiskie/mount.py:480 +#, python-brace-format +msgid "not removing {0}: unhandled device" +msgstr "not removing {0}: unhandled device" + +#: ../udiskie/mount.py:505 +#, python-brace-format +msgid "not ejecting {0}: unhandled device" +msgstr "not ejecting {0}: unhandled device" + +#: ../udiskie/mount.py:509 +#, python-brace-format +msgid "not ejecting {0}: drive not ejectable" +msgstr "not ejecting {0}: drive not ejectable" + +#: ../udiskie/mount.py:515 +#, python-brace-format +msgid "ejecting {0}" +msgstr "ejecting {0}" + +#: ../udiskie/mount.py:517 +#, python-brace-format +msgid "ejected {0}" +msgstr "ejected {0}" + +#: ../udiskie/mount.py:531 +#, python-brace-format +msgid "not detaching {0}: unhandled device" +msgstr "not detaching {0}: unhandled device" + +#: ../udiskie/mount.py:535 +#, python-brace-format +msgid "not detaching {0}: drive not detachable" +msgstr "not detaching {0}: drive not detachable" + +#: ../udiskie/mount.py:539 +#, python-brace-format +msgid "detaching {0}" +msgstr "detaching {0}" + +#: ../udiskie/mount.py:544 +#, python-brace-format +msgid "detached {0}" +msgstr "detached {0}" + +#: ../udiskie/mount.py:595 +#, python-brace-format +msgid "not setting up {0}: already up" +msgstr "not setting up {0}: already up" + +#: ../udiskie/mount.py:598 +#, python-brace-format +msgid "not setting up {0}: not a file" +msgstr "not setting up {0}: not a file" + +#: ../udiskie/mount.py:600 +#, python-brace-format +msgid "setting up loop device {0}" +msgstr "setting up loop device {0}" + +#: ../udiskie/mount.py:618 +#, python-brace-format +msgid "" +"Insufficient permission to open {0} in read-write mode. Retrying in read-" +"only mode." +msgstr "" +"Insufficient permission to open {0} in read-write mode. Retrying in read-" +"only mode." + +#: ../udiskie/mount.py:630 +#, python-brace-format +msgid "set up {0} as {1}" +msgstr "set up {0} as {1}" + +#: ../udiskie/mount.py:645 +#, python-brace-format +msgid "not deleting {0}: unhandled device" +msgstr "not deleting {0}: unhandled device" + +#: ../udiskie/mount.py:649 +#, python-brace-format +msgid "deleting {0}" +msgstr "deleting {0}" + +#: ../udiskie/mount.py:651 +#, python-brace-format +msgid "deleted {0}" +msgstr "deleted {0}" + +#: ../udiskie/mount.py:777 +#, python-brace-format +msgid "Browse {0}" +msgstr "Browse {0}" + +#: ../udiskie/mount.py:778 +#, python-brace-format +msgid "Hack on {0}" +msgstr "Hack on {0}" + +#: ../udiskie/mount.py:779 +#, python-brace-format +msgid "Mount {0}" +msgstr "Mount {0}" + +#: ../udiskie/mount.py:780 +#, python-brace-format +msgid "Unmount {0}" +msgstr "Unmount {0}" + +#: ../udiskie/mount.py:781 +#, python-brace-format +msgid "Unlock {0}" +msgstr "Unlock {0}" + +#: ../udiskie/mount.py:782 +#, python-brace-format +msgid "Lock {0}" +msgstr "Lock {0}" + +#: ../udiskie/mount.py:783 +#, python-brace-format +msgid "Eject {1}" +msgstr "Eject {1}" + +#: ../udiskie/mount.py:784 +#, python-brace-format +msgid "Unpower {1}" +msgstr "Unpower {1}" + +#: ../udiskie/mount.py:785 +#, python-brace-format +msgid "Clear password for {0}" +msgstr "Clear password for {0}" + +#: ../udiskie/mount.py:786 +#, python-brace-format +msgid "Detach {0}" +msgstr "Detach {0}" + +#: ../udiskie/notify.py:62 +msgid "Browse directory" +msgstr "Browse directory" + +#: ../udiskie/notify.py:64 +msgid "Open terminal" +msgstr "Open terminal" + +#: ../udiskie/notify.py:68 +msgid "Device mounted" +msgstr "Device mounted" + +#: ../udiskie/notify.py:69 +#, python-brace-format +msgid "{0.ui_label} mounted on {0.mount_paths[0]}" +msgstr "{0.ui_label} mounted on {0.mount_paths[0]}" + +#: ../udiskie/notify.py:80 +msgid "Device unmounted" +msgstr "Device unmounted" + +#: ../udiskie/notify.py:81 +#, python-brace-format +msgid "{0.ui_label} unmounted" +msgstr "{0.ui_label} unmounted" + +#: ../udiskie/notify.py:90 +msgid "Device locked" +msgstr "Device locked" + +#: ../udiskie/notify.py:91 +#, python-brace-format +msgid "{0.device_presentation} locked" +msgstr "{0.device_presentation} locked" + +#: ../udiskie/notify.py:100 +msgid "Device unlocked" +msgstr "Device unlocked" + +#: ../udiskie/notify.py:101 +#, python-brace-format +msgid "{0.device_presentation} unlocked" +msgstr "{0.device_presentation} unlocked" + +#: ../udiskie/notify.py:135 +msgid "Device added" +msgstr "Device added" + +#: ../udiskie/notify.py:136 +#, python-brace-format +msgid "device appeared on {0.device_presentation}" +msgstr "device appeared on {0.device_presentation}" + +#: ../udiskie/notify.py:155 +msgid "Device removed" +msgstr "Device removed" + +#: ../udiskie/notify.py:156 +#, python-brace-format +msgid "device disappeared on {0.device_presentation}" +msgstr "device disappeared on {0.device_presentation}" + +#: ../udiskie/notify.py:165 +#, python-brace-format +msgid "" +"failed to {0} {1}:\n" +"{2}" +msgstr "" +"failed to {0} {1}:\n" +"{2}" + +#: ../udiskie/notify.py:167 +#, python-brace-format +msgid "failed to {0} device {1}." +msgstr "failed to {0} device {1}." + +#: ../udiskie/notify.py:173 +msgid "Retry" +msgstr "Retry" + +#: ../udiskie/notify.py:176 +msgid "Job failed" +msgstr "Job failed" + +#: ../udiskie/notify.py:207 +#, python-brace-format +msgid "Failed to show notification: {0}" +msgstr "Failed to show notification: {0}" + +#: ../udiskie/prompt.py:96 +msgid "Show password" +msgstr "Show password" + +#: ../udiskie/prompt.py:101 +msgid "Open keyfile…" +msgstr "Open keyfile…" + +#: ../udiskie/prompt.py:108 +msgid "Cache password" +msgstr "Cache password" + +#: ../udiskie/prompt.py:123 +msgid "Open a keyfile to unlock the LUKS device" +msgstr "Open a keyfile to unlock the LUKS device" + +#: ../udiskie/prompt.py:157 ../udiskie/prompt.py:167 +#, python-brace-format +msgid "Enter password for {0.device_presentation}: " +msgstr "Enter password for {0.device_presentation}: " + +#: ../udiskie/prompt.py:203 +msgid "Unknown device attribute {!r} in format string: {!r}" +msgstr "Unknown device attribute {!r} in format string: {!r}" + +#: ../udiskie/prompt.py:255 +msgid "" +"Can't find file browser: {0!r}. You may want to change the value for the '-" +"f' option." +msgstr "" +"Can't find file browser: {0!r}. You may want to change the value for the '-" +"f' option." + +#: ../udiskie/tray.py:182 +msgid "Managed devices" +msgstr "Managed devices" + +#: ../udiskie/tray.py:198 +msgid "Mount disc image" +msgstr "Mount disc image" + +#: ../udiskie/tray.py:204 +msgid "Enable automounting" +msgstr "Enable automounting" + +#: ../udiskie/tray.py:210 +msgid "Enable notifications" +msgstr "Enable notifications" + +#: ../udiskie/tray.py:219 +msgid "Quit" +msgstr "Quit" + +#: ../udiskie/tray.py:226 +msgid "Open disc image" +msgstr "Open disc image" + +#: ../udiskie/tray.py:228 +msgid "Open" +msgstr "Open" + +#: ../udiskie/tray.py:229 +msgid "Cancel" +msgstr "Cancel" + +#: ../udiskie/tray.py:269 +msgid "Invalid node!" +msgstr "Invalid node!" + +#: ../udiskie/tray.py:271 +msgid "No external devices" +msgstr "No external devices" + +#: ../udiskie/tray.py:387 +msgid "udiskie" +msgstr "udiskie" + +#: ../udiskie/udisks2.py:661 +#, python-brace-format +msgid "found device owning \"{0}\": \"{1}\"" +msgstr "found device owning \"{0}\": \"{1}\"" + +#: ../udiskie/udisks2.py:664 +#, python-brace-format +msgid "no device found owning \"{0}\"" +msgstr "no device found owning \"{0}\"" + +#: ../udiskie/udisks2.py:683 +#, python-brace-format +msgid "Daemon version: {0}" +msgstr "Daemon version: {0}" + +#: ../udiskie/udisks2.py:688 +#, python-brace-format +msgid "Keyfile support: {0}" +msgstr "Keyfile support: {0}" + +#: ../udiskie/udisks2.py:767 +#, python-brace-format +msgid "+++ {0}: {1}" +msgstr "+++ {0}: {1}" From 1ca966c0b1fa26674865693ba5cfed9c64e5854e Mon Sep 17 00:00:00 2001 From: knm100 <166389780+knm100@users.noreply.github.com> Date: Sun, 6 Oct 2024 16:19:29 +0800 Subject: [PATCH 3/9] Update zh_CN.po --- lang/zh_CN.po | 64 +++++++++++++++++++++++++-------------------------- 1 file changed, 32 insertions(+), 32 deletions(-) diff --git a/lang/zh_CN.po b/lang/zh_CN.po index 765d628..59e66e9 100644 --- a/lang/zh_CN.po +++ b/lang/zh_CN.po @@ -11,7 +11,7 @@ msgstr "" "POT-Creation-Date: 2024-09-04 05:17+0000\n" "PO-Revision-Date: 2024-09-04 05:17+0000\n" "Last-Translator: Automatically generated\n" -"Language-Team: none\n" +"Language-Team: Chinese\n" "Language: zh_CN\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -95,11 +95,11 @@ msgid "" "\t- it was built with introspection disabled\n" "Starting udiskie without appindicator icon.\n" msgstr "" -"Typelib for 'AppIndicator3 0.1' is not available. Possible causes include:\n" -"\t- libappindicator is not installed\n" -"\t- the typelib is provided by a separate package\n" -"\t- it was built with introspection disabled\n" -"Starting udiskie without appindicator icon.\n" +"AppIndicator3 0.1 的类型库(typelib)不可用,可能的原因包括:\n" +"\t- 没有安装libappindicator;\n" +"\t- 类型库(typelib)由一个单独的软件包提供;\n" +"\t- 在编译时禁用了对象自省功能;\n" +"在没有托盘图标的情况下启动 udiskie。\n" #: ../udiskie/cli.py:436 msgid "" @@ -107,22 +107,22 @@ msgid "" "works, but may be removed in a future version. Please change your command " "line and config to use the new name." msgstr "" -"The 'notify_command' option was renamed to 'event_hook'. The old name still " -"works, but may be removed in a future version. Please change your command " -"line and config to use the new name." +" notify_command “选项更名为 ”event_hook"。旧名称仍" +"可以运行,但可能会在未来版本中删除。请更改您的命令" +"行并配置用新的命令名。" #: ../udiskie/cli.py:443 msgid "Ignoring 'notify_command' in favor of 'event_hook'." -msgstr "Ignoring 'notify_command' in favor of 'event_hook'." +msgstr "忽略 “notify_command ”而使用 “event_hook”。" #: ../udiskie/config.py:131 msgid "Unknown matching attribute: {!r}" -msgstr "Unknown matching attribute: {!r}" +msgstr "未知匹配属性:{!r}" #: ../udiskie/config.py:133 #, python-brace-format msgid "new rule: {0}" -msgstr "new rule: {0}" +msgstr "新规则: {0}" #: ../udiskie/config.py:136 #, python-brace-format @@ -132,81 +132,81 @@ msgstr "{0} -> {1}" #: ../udiskie/config.py:155 #, python-brace-format msgid "{0} matched {1}" -msgstr "{0} matched {1}" +msgstr "{0} 匹配 {1}" #: ../udiskie/config.py:232 #, python-brace-format msgid "Failed to read config file: {0}" -msgstr "Failed to read config file: {0}" +msgstr "读取配置文件失败: {0}" #: ../udiskie/config.py:235 msgid "Failed to read {0!r}: {1}" -msgstr "Failed to read {0!r}: {1}" +msgstr "读取{0!r}: {1}失败" #: ../udiskie/depend.py:59 msgid "" "Missing runtime dependency GTK 3. Falling back to GTK 2 for password prompt" msgstr "" -"Missing runtime dependency GTK 3. Falling back to GTK 2 for password prompt" +"缺少GTK 3运行时依赖。密码提示回退到GTK 2" #: ../udiskie/depend.py:65 msgid "X server not connected!" -msgstr "X server not connected!" +msgstr "X服务器未连接!" #: ../udiskie/mount.py:29 #, python-brace-format msgid "failed to {0} {1}: {2}" -msgstr "failed to {0} {1}: {2}" +msgstr "失败 {0} {1}: {2}" #: ../udiskie/mount.py:117 #, python-brace-format msgid "not browsing {0}: not mounted" -msgstr "not browsing {0}: not mounted" +msgstr "未浏览 {0}:未挂载" #: ../udiskie/mount.py:120 #, python-brace-format msgid "not browsing {0}: no program" -msgstr "not browsing {0}: no program" +msgstr "未浏览 {0}:未计划" #: ../udiskie/mount.py:122 ../udiskie/mount.py:142 #, python-brace-format msgid "opening {0} on {0.mount_paths[0]}" -msgstr "opening {0} on {0.mount_paths[0]}" +msgstr "开启{0}在位置{0.mount_paths[0]}" #: ../udiskie/mount.py:124 ../udiskie/mount.py:144 #, python-brace-format msgid "opened {0} on {0.mount_paths[0]}" -msgstr "opened {0} on {0.mount_paths[0]}" +msgstr "已开启{0}在位置{0.mount_paths[0]}" #: ../udiskie/mount.py:137 #, python-brace-format msgid "not opening terminal {0}: not mounted" -msgstr "not opening terminal {0}: not mounted" +msgstr "未打开终端 {0}: 未挂载" #: ../udiskie/mount.py:140 #, python-brace-format msgid "not opening terminal {0}: no program" -msgstr "not opening terminal {0}: no program" +msgstr "未打开终端 {0}: 未计划" #: ../udiskie/mount.py:158 #, python-brace-format msgid "not mounting {0}: unhandled device" -msgstr "not mounting {0}: unhandled device" +msgstr "未挂载 {0}: 未处理设备" #: ../udiskie/mount.py:161 #, python-brace-format msgid "not mounting {0}: already mounted" -msgstr "not mounting {0}: already mounted" +msgstr "未挂载 {0}:已被挂载" #: ../udiskie/mount.py:165 #, python-brace-format msgid "mounting {0} with {1}" -msgstr "mounting {0} with {1}" +msgstr "将 {0} 挂载到 {1} 上" #: ../udiskie/mount.py:168 #, python-brace-format msgid "mounted {0} on {1}" -msgstr "mounted {0} on {1}" +msgstr "已挂载 {0} 在 {1} 上" #: ../udiskie/mount.py:174 msgid "" @@ -214,14 +214,14 @@ msgid "" "Please install 'ntfs-3g' if you experience problems or the device is " "readonly." msgstr "" -"Mounting NTFS device with default driver.\n" -"Please install 'ntfs-3g' if you experience problems or the device is " -"readonly." +"使用默认驱动程序挂载 NTFS 设备。\n" +" 请安装 “ntfs-3g”,如果遇到问题或设备是" +"只读的." #: ../udiskie/mount.py:188 #, python-brace-format msgid "not unmounting {0}: unhandled device" -msgstr "not unmounting {0}: unhandled device" +msgstr "未挂载 {0}: 未处理设备" #: ../udiskie/mount.py:191 #, python-brace-format From 32ba827fdeb9a422afe43cb94b21f8d6ddce6f2d Mon Sep 17 00:00:00 2001 From: knm100 <166389780+knm100@users.noreply.github.com> Date: Sun, 6 Oct 2024 16:28:30 +0800 Subject: [PATCH 4/9] Update zh_CN.po --- lang/zh_CN.po | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/lang/zh_CN.po b/lang/zh_CN.po index 59e66e9..aea2189 100644 --- a/lang/zh_CN.po +++ b/lang/zh_CN.po @@ -226,7 +226,7 @@ msgstr "未挂载 {0}: 未处理设备" #: ../udiskie/mount.py:191 #, python-brace-format msgid "not unmounting {0}: not mounted" -msgstr "not unmounting {0}: not mounted" +msgstr "未卸载 {0}:未挂载" #: ../udiskie/mount.py:193 #, python-brace-format @@ -236,52 +236,52 @@ msgstr "unmounting {0}" #: ../udiskie/mount.py:195 #, python-brace-format msgid "unmounted {0}" -msgstr "unmounted {0}" +msgstr "未挂载 {0}" #: ../udiskie/mount.py:209 #, python-brace-format msgid "not unlocking {0}: unhandled device" -msgstr "not unlocking {0}: unhandled device" +msgstr "无法解锁 {0}:未处理的设备" #: ../udiskie/mount.py:212 #, python-brace-format msgid "not unlocking {0}: already unlocked" -msgstr "not unlocking {0}: already unlocked" +msgstr "未解锁 {0}:已解锁" #: ../udiskie/mount.py:215 #, python-brace-format msgid "not unlocking {0}: no password prompt" -msgstr "not unlocking {0}: no password prompt" +msgstr "未解锁 {0}:无密码提示" #: ../udiskie/mount.py:229 #, python-brace-format msgid "not unlocking {0}: cancelled by user" -msgstr "not unlocking {0}: cancelled by user" +msgstr "未解锁 {0}:用户取消" #: ../udiskie/mount.py:234 #, python-brace-format msgid "unlocking {0} using keyfile" -msgstr "unlocking {0} using keyfile" +msgstr "使用密钥文件解锁 {0}" #: ../udiskie/mount.py:237 #, python-brace-format msgid "unlocking {0}" -msgstr "unlocking {0}" +msgstr "解锁 {0}" #: ../udiskie/mount.py:240 #, python-brace-format msgid "unlocked {0}" -msgstr "unlocked {0}" +msgstr "已解锁 {0}" #: ../udiskie/mount.py:249 #, python-brace-format msgid "no cached key for {0}" -msgstr "no cached key for {0}" +msgstr "{0}没有可用的缓存密钥" #: ../udiskie/mount.py:251 #, python-brace-format msgid "unlocking {0} using cached password" -msgstr "unlocking {0} using cached password" +msgstr "使用缓存密码解锁 {0}" #: ../udiskie/mount.py:255 #, python-brace-format From 53dd9eee24252052795509e8db0c8faae9fb13b5 Mon Sep 17 00:00:00 2001 From: knm100 <166389780+knm100@users.noreply.github.com> Date: Sun, 6 Oct 2024 16:45:58 +0800 Subject: [PATCH 5/9] Update zh_CN.po --- lang/zh_CN.po | 48 ++++++++++++++++++++++++------------------------ 1 file changed, 24 insertions(+), 24 deletions(-) diff --git a/lang/zh_CN.po b/lang/zh_CN.po index aea2189..fa0725e 100644 --- a/lang/zh_CN.po +++ b/lang/zh_CN.po @@ -286,121 +286,121 @@ msgstr "使用缓存密码解锁 {0}" #: ../udiskie/mount.py:255 #, python-brace-format msgid "failed to unlock {0} using cached password" -msgstr "failed to unlock {0} using cached password" +msgstr "使用缓存密码解锁 {0} 失败" #: ../udiskie/mount.py:258 #, python-brace-format msgid "unlocked {0} using cached password" -msgstr "unlocked {0} using cached password" +msgstr "用缓存的密码解锁了 {0}" #: ../udiskie/mount.py:266 msgid "No matching keyfile rule for {}." -msgstr "No matching keyfile rule for {}." +msgstr "没有与 {} 匹配的关键文件规则。" #: ../udiskie/mount.py:272 #, python-brace-format msgid "keyfile for {0} not found: {1}" -msgstr "keyfile for {0} not found: {1}" +msgstr "未找到 {0} 的密钥文件: {1}" #: ../udiskie/mount.py:274 #, python-brace-format msgid "unlocking {0} using keyfile {1}" -msgstr "unlocking {0} using keyfile {1}" +msgstr "用 {1} 密钥文件解锁 {0}" #: ../udiskie/mount.py:278 #, python-brace-format msgid "failed to unlock {0} using keyfile" -msgstr "failed to unlock {0} using keyfile" +msgstr "用密码文件解锁 {0} 失败" #: ../udiskie/mount.py:281 #, python-brace-format msgid "unlocked {0} using keyfile" -msgstr "unlocked {0} using keyfile" +msgstr "已用密钥文件解锁 {0}" #: ../udiskie/mount.py:307 #, python-brace-format msgid "not locking {0}: unhandled device" -msgstr "not locking {0}: unhandled device" +msgstr "未锁定 {0}:未处理设备" #: ../udiskie/mount.py:310 #, python-brace-format msgid "not locking {0}: not unlocked" -msgstr "not locking {0}: not unlocked" +msgstr "未锁定 {0}:未解锁" #: ../udiskie/mount.py:312 #, python-brace-format msgid "locking {0}" -msgstr "locking {0}" +msgstr "锁定{0}" #: ../udiskie/mount.py:314 #, python-brace-format msgid "locked {0}" -msgstr "locked {0}" +msgstr "已锁定 {0}" #: ../udiskie/mount.py:351 ../udiskie/mount.py:394 #, python-brace-format msgid "not adding {0}: unhandled device" -msgstr "not adding {0}: unhandled device" +msgstr "未添加 {0}:未处理设备" #: ../udiskie/mount.py:430 ../udiskie/mount.py:480 #, python-brace-format msgid "not removing {0}: unhandled device" -msgstr "not removing {0}: unhandled device" +msgstr "未移除 {0}:未处理设备" #: ../udiskie/mount.py:505 #, python-brace-format msgid "not ejecting {0}: unhandled device" -msgstr "not ejecting {0}: unhandled device" +msgstr "无法弹出 {0}:未处理设备" #: ../udiskie/mount.py:509 #, python-brace-format msgid "not ejecting {0}: drive not ejectable" -msgstr "not ejecting {0}: drive not ejectable" +msgstr "未弹出 {0}:硬盘不可弹出" #: ../udiskie/mount.py:515 #, python-brace-format msgid "ejecting {0}" -msgstr "ejecting {0}" +msgstr "弹出 {0}" #: ../udiskie/mount.py:517 #, python-brace-format msgid "ejected {0}" -msgstr "ejected {0}" +msgstr "已弹出 {0}" #: ../udiskie/mount.py:531 #, python-brace-format msgid "not detaching {0}: unhandled device" -msgstr "not detaching {0}: unhandled device" +msgstr "未取出 {0}:未处理设备" #: ../udiskie/mount.py:535 #, python-brace-format msgid "not detaching {0}: drive not detachable" -msgstr "not detaching {0}: drive not detachable" +msgstr "未取出 {0}:硬盘不可取出" #: ../udiskie/mount.py:539 #, python-brace-format msgid "detaching {0}" -msgstr "detaching {0}" +msgstr "取出 {0}" #: ../udiskie/mount.py:544 #, python-brace-format msgid "detached {0}" -msgstr "detached {0}" +msgstr "已取出 {0}" #: ../udiskie/mount.py:595 #, python-brace-format msgid "not setting up {0}: already up" -msgstr "not setting up {0}: already up" +msgstr "未设置{0}:已设置" #: ../udiskie/mount.py:598 #, python-brace-format msgid "not setting up {0}: not a file" -msgstr "not setting up {0}: not a file" +msgstr "未设置 {0}:不是文件" #: ../udiskie/mount.py:600 #, python-brace-format msgid "setting up loop device {0}" -msgstr "setting up loop device {0}" +msgstr "设置环路设备 {0}" #: ../udiskie/mount.py:618 #, python-brace-format From a3c6c11cd6549fa04baa7d7cce3d420da3f08e90 Mon Sep 17 00:00:00 2001 From: knm100 <166389780+knm100@users.noreply.github.com> Date: Sun, 6 Oct 2024 17:36:19 +0800 Subject: [PATCH 6/9] Update zh_CN.po --- lang/zh_CN.po | 72 +++++++++++++++++++++++++-------------------------- 1 file changed, 36 insertions(+), 36 deletions(-) diff --git a/lang/zh_CN.po b/lang/zh_CN.po index fa0725e..85482fd 100644 --- a/lang/zh_CN.po +++ b/lang/zh_CN.po @@ -21,7 +21,7 @@ msgstr "" #: ../udiskie/cli.py:46 #, python-brace-format msgid "These options are mutually exclusive: {0}" -msgstr "These options are mutually exclusive: {0}" +msgstr "这些选项是互斥的: {0}" #: ../udiskie/cli.py:119 msgid "" @@ -58,20 +58,20 @@ msgid "" "\n" "Starting udiskie without notifications." msgstr "" -"Typelib for 'libnotify' is not available. Possible causes include:\n" -"\t- libnotify is not installed\n" -"\t- the typelib is provided by a separate package\n" -"\t- libnotify was built with introspection disabled\n" +"libnotify' 的类型库(Typelib)不可用。可能的原因包括:\n" +"\t- 没有安装libnotify\n" +"\t- 类型库(typelib)由一个单独的软件包提供\n" +"\t- 编译libnotify时禁用了对象自省\n" "\n" -"Starting udiskie without notifications." +"启动不带通知功能的udiskie。" #: ../udiskie/cli.py:400 msgid "" "Not run within X or Wayland session.\n" "Starting udiskie without tray icon.\n" msgstr "" -"Not run within X or Wayland session.\n" -"Starting udiskie without tray icon.\n" +"没有运行在X或者wayland下.\n" +"启动不带托盘图标的udiskie。\n" #: ../udiskie/cli.py:407 msgid "" @@ -81,11 +81,11 @@ msgid "" "\t- GTK3 was built with introspection disabled\n" "Starting udiskie without tray icon.\n" msgstr "" -"Typelib for 'Gtk 3.0' is not available. Possible causes include:\n" -"\t- GTK3 is not installed\n" -"\t- the typelib is provided by a separate package\n" -"\t- GTK3 was built with introspection disabled\n" -"Starting udiskie without tray icon.\n" +"Gtk 3.0 "的类型库(Typelib)不可用。可能的原因包括:\n" +"\t- 没有安装GIK3\n" +"\t- 类型库(typelib)由一个单独的软件包提供\n" +"\t- 编译GTK3时禁用了对象自省\n" +"启动不带托盘图标的udiskie。\n" #: ../udiskie/cli.py:417 msgid "" @@ -96,10 +96,10 @@ msgid "" "Starting udiskie without appindicator icon.\n" msgstr "" "AppIndicator3 0.1 的类型库(typelib)不可用,可能的原因包括:\n" -"\t- 没有安装libappindicator;\n" -"\t- 类型库(typelib)由一个单独的软件包提供;\n" -"\t- 在编译时禁用了对象自省功能;\n" -"在没有托盘图标的情况下启动 udiskie。\n" +"\t- 没有安装libappindicator\n" +"\t- 类型库(typelib)由一个单独的软件包提供\n" +"\t- 在编译时禁用了对象自省功能\n" +"启动没有托盘功能udiskie。\n" #: ../udiskie/cli.py:436 msgid "" @@ -231,7 +231,7 @@ msgstr "未卸载 {0}:未挂载" #: ../udiskie/mount.py:193 #, python-brace-format msgid "unmounting {0}" -msgstr "unmounting {0}" +msgstr "卸载 {0}" #: ../udiskie/mount.py:195 #, python-brace-format @@ -408,86 +408,86 @@ msgid "" "Insufficient permission to open {0} in read-write mode. Retrying in read-" "only mode." msgstr "" -"Insufficient permission to open {0} in read-write mode. Retrying in read-" -"only mode." +"以读写模式打开 {0} 的权限不足。重试" +"只读模式。" #: ../udiskie/mount.py:630 #, python-brace-format msgid "set up {0} as {1}" -msgstr "set up {0} as {1}" +msgstr "将 {0} 设为 {1}" #: ../udiskie/mount.py:645 #, python-brace-format msgid "not deleting {0}: unhandled device" -msgstr "not deleting {0}: unhandled device" +msgstr "未删除 {0}:未处理设备" #: ../udiskie/mount.py:649 #, python-brace-format msgid "deleting {0}" -msgstr "deleting {0}" +msgstr "删除 {0}" #: ../udiskie/mount.py:651 #, python-brace-format msgid "deleted {0}" -msgstr "deleted {0}" +msgstr "已删除 {0}" #: ../udiskie/mount.py:777 #, python-brace-format msgid "Browse {0}" -msgstr "Browse {0}" +msgstr "浏览 {0}" #: ../udiskie/mount.py:778 #, python-brace-format msgid "Hack on {0}" -msgstr "Hack on {0}" +msgstr "破解 {0}" #: ../udiskie/mount.py:779 #, python-brace-format msgid "Mount {0}" -msgstr "Mount {0}" +msgstr "挂载 {0}" #: ../udiskie/mount.py:780 #, python-brace-format msgid "Unmount {0}" -msgstr "Unmount {0}" +msgstr "卸载 {0}" #: ../udiskie/mount.py:781 #, python-brace-format msgid "Unlock {0}" -msgstr "Unlock {0}" +msgstr "解锁 {0}" #: ../udiskie/mount.py:782 #, python-brace-format msgid "Lock {0}" -msgstr "Lock {0}" +msgstr "锁定 {0}" #: ../udiskie/mount.py:783 #, python-brace-format msgid "Eject {1}" -msgstr "Eject {1}" +msgstr "弹出 {1}" #: ../udiskie/mount.py:784 #, python-brace-format msgid "Unpower {1}" -msgstr "Unpower {1}" +msgstr "断电 {1}" #: ../udiskie/mount.py:785 #, python-brace-format msgid "Clear password for {0}" -msgstr "Clear password for {0}" +msgstr "清除 {0} 的密码" #: ../udiskie/mount.py:786 #, python-brace-format msgid "Detach {0}" -msgstr "Detach {0}" +msgstr "取出 {0}" #: ../udiskie/notify.py:62 msgid "Browse directory" -msgstr "Browse directory" +msgstr "浏览目录" #: ../udiskie/notify.py:64 msgid "Open terminal" -msgstr "Open terminal" +msgstr "打开终端" #: ../udiskie/notify.py:68 msgid "Device mounted" From e0cb3043b6585967970ab2c50ea762e66938365b Mon Sep 17 00:00:00 2001 From: knm100 <166389780+knm100@users.noreply.github.com> Date: Sun, 6 Oct 2024 17:38:34 +0800 Subject: [PATCH 7/9] Update zh_CN.po --- lang/zh_CN.po | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lang/zh_CN.po b/lang/zh_CN.po index 85482fd..b5dd226 100644 --- a/lang/zh_CN.po +++ b/lang/zh_CN.po @@ -33,10 +33,10 @@ msgid "" " " msgstr "" "\n" -" Note, that the options in the individual groups are mutually exclusive.\n" +" 请注意,各组中的选项是互斥的。\n" "\n" -" The config file can be a JSON or preferably a YAML file. For an\n" -" example, see the MAN page (or doc/udiskie.8.txt in the repository).\n" +" 配置文件可以是 JSON 文件,最好是 YAML 文件。\n" +" 例如,请参阅 MAN 页面(或软件源中的 doc/udiskie.8.txt)。\n" " " #: ../udiskie/cli.py:139 From 99f986921607158f7736b1f4ffdc23c8efbc2a65 Mon Sep 17 00:00:00 2001 From: knm100 <166389780+knm100@users.noreply.github.com> Date: Sun, 6 Oct 2024 19:04:11 +0800 Subject: [PATCH 8/9] Update zh_CN.po --- lang/zh_CN.po | 86 +++++++++++++++++++++++++-------------------------- 1 file changed, 43 insertions(+), 43 deletions(-) diff --git a/lang/zh_CN.po b/lang/zh_CN.po index b5dd226..b037469 100644 --- a/lang/zh_CN.po +++ b/lang/zh_CN.po @@ -42,12 +42,12 @@ msgstr "" #: ../udiskie/cli.py:139 #, python-format msgid "%(message)s" -msgstr "%(message)s" +msgstr "%(信息)s" #: ../udiskie/cli.py:141 #, python-format msgid "%(levelname)s [%(asctime)s] %(name)s: %(message)s" -msgstr "%(levelname)s [%(asctime)s] %(name)s: %(message)s" +msgstr "%(日志输出级别)s [%(时间与日期)s] %(变量名)s: %(消息)s" #: ../udiskie/cli.py:386 msgid "" @@ -156,7 +156,7 @@ msgstr "X服务器未连接!" #: ../udiskie/mount.py:29 #, python-brace-format msgid "failed to {0} {1}: {2}" -msgstr "失败 {0} {1}: {2}" +msgstr "不能到 {0} {1}: {2}" #: ../udiskie/mount.py:117 #, python-brace-format @@ -241,7 +241,7 @@ msgstr "未挂载 {0}" #: ../udiskie/mount.py:209 #, python-brace-format msgid "not unlocking {0}: unhandled device" -msgstr "无法解锁 {0}:未处理的设备" +msgstr "无法解锁 {0}:未处理设备" #: ../udiskie/mount.py:212 #, python-brace-format @@ -491,57 +491,57 @@ msgstr "打开终端" #: ../udiskie/notify.py:68 msgid "Device mounted" -msgstr "Device mounted" +msgstr "设备已挂载" #: ../udiskie/notify.py:69 #, python-brace-format msgid "{0.ui_label} mounted on {0.mount_paths[0]}" -msgstr "{0.ui_label} mounted on {0.mount_paths[0]}" +msgstr "{0.mount_paths[0]} 已挂载在 {0.ui_label} 上" #: ../udiskie/notify.py:80 msgid "Device unmounted" -msgstr "Device unmounted" +msgstr "设备未挂载" #: ../udiskie/notify.py:81 #, python-brace-format msgid "{0.ui_label} unmounted" -msgstr "{0.ui_label} unmounted" +msgstr "{0.ui_label} 未挂载" #: ../udiskie/notify.py:90 msgid "Device locked" -msgstr "Device locked" +msgstr "设备已锁定" #: ../udiskie/notify.py:91 #, python-brace-format msgid "{0.device_presentation} locked" -msgstr "{0.device_presentation} locked" +msgstr "{0.device_presentation} 已锁定" #: ../udiskie/notify.py:100 msgid "Device unlocked" -msgstr "Device unlocked" +msgstr "设备未锁定" #: ../udiskie/notify.py:101 #, python-brace-format msgid "{0.device_presentation} unlocked" -msgstr "{0.device_presentation} unlocked" +msgstr "{0.device_presentation} 未锁定" #: ../udiskie/notify.py:135 msgid "Device added" -msgstr "Device added" +msgstr "设备已添加" #: ../udiskie/notify.py:136 #, python-brace-format msgid "device appeared on {0.device_presentation}" -msgstr "device appeared on {0.device_presentation}" +msgstr "设备已出现在 {0.device_presentation} 上" #: ../udiskie/notify.py:155 msgid "Device removed" -msgstr "Device removed" +msgstr "设备已移除" #: ../udiskie/notify.py:156 #, python-brace-format msgid "device disappeared on {0.device_presentation}" -msgstr "device disappeared on {0.device_presentation}" +msgstr "设备在 {0.device_presentation} 上已消失" #: ../udiskie/notify.py:165 #, python-brace-format @@ -549,99 +549,99 @@ msgid "" "failed to {0} {1}:\n" "{2}" msgstr "" -"failed to {0} {1}:\n" +"不能到 {0} {1}:\n" "{2}" #: ../udiskie/notify.py:167 #, python-brace-format msgid "failed to {0} device {1}." -msgstr "failed to {0} device {1}." +msgstr "不能到 {0} device {1}." #: ../udiskie/notify.py:173 msgid "Retry" -msgstr "Retry" +msgstr "重试" #: ../udiskie/notify.py:176 msgid "Job failed" -msgstr "Job failed" +msgstr "任务失败" #: ../udiskie/notify.py:207 #, python-brace-format msgid "Failed to show notification: {0}" -msgstr "Failed to show notification: {0}" +msgstr "无法显示通知: {0}" #: ../udiskie/prompt.py:96 msgid "Show password" -msgstr "Show password" +msgstr "显示密码" #: ../udiskie/prompt.py:101 msgid "Open keyfile…" -msgstr "Open keyfile…" +msgstr "打开密钥文件…" #: ../udiskie/prompt.py:108 msgid "Cache password" -msgstr "Cache password" +msgstr "缓存密码" #: ../udiskie/prompt.py:123 msgid "Open a keyfile to unlock the LUKS device" -msgstr "Open a keyfile to unlock the LUKS device" +msgstr "打开密钥文件以解锁 LUKS 设备" #: ../udiskie/prompt.py:157 ../udiskie/prompt.py:167 #, python-brace-format msgid "Enter password for {0.device_presentation}: " -msgstr "Enter password for {0.device_presentation}: " +msgstr "输入 {0.device_presentation} 的密码: " #: ../udiskie/prompt.py:203 msgid "Unknown device attribute {!r} in format string: {!r}" -msgstr "Unknown device attribute {!r} in format string: {!r}" +msgstr "未知设备属性 {!r} 格式字符串: {!r}" #: ../udiskie/prompt.py:255 msgid "" "Can't find file browser: {0!r}. You may want to change the value for the '-" "f' option." msgstr "" -"Can't find file browser: {0!r}. You may want to change the value for the '-" -"f' option." +"找不到文件浏览器: {0!r}. 您可能需要更改” +“'-f'选项的值。" #: ../udiskie/tray.py:182 msgid "Managed devices" -msgstr "Managed devices" +msgstr "托管设备" #: ../udiskie/tray.py:198 msgid "Mount disc image" -msgstr "Mount disc image" +msgstr "挂载光盘镜像" #: ../udiskie/tray.py:204 msgid "Enable automounting" -msgstr "Enable automounting" +msgstr "启用自动挂载" #: ../udiskie/tray.py:210 msgid "Enable notifications" -msgstr "Enable notifications" +msgstr "启用通知" #: ../udiskie/tray.py:219 msgid "Quit" -msgstr "Quit" +msgstr "退出" #: ../udiskie/tray.py:226 msgid "Open disc image" -msgstr "Open disc image" +msgstr "打开光盘镜像" #: ../udiskie/tray.py:228 msgid "Open" -msgstr "Open" +msgstr "打开" #: ../udiskie/tray.py:229 msgid "Cancel" -msgstr "Cancel" +msgstr "取消" #: ../udiskie/tray.py:269 msgid "Invalid node!" -msgstr "Invalid node!" +msgstr "无效节点!" #: ../udiskie/tray.py:271 msgid "No external devices" -msgstr "No external devices" +msgstr "无外置设备" #: ../udiskie/tray.py:387 msgid "udiskie" @@ -650,22 +650,22 @@ msgstr "udiskie" #: ../udiskie/udisks2.py:661 #, python-brace-format msgid "found device owning \"{0}\": \"{1}\"" -msgstr "found device owning \"{0}\": \"{1}\"" +msgstr "发现设备拥有 \"{0}\": \"{1}\"" #: ../udiskie/udisks2.py:664 #, python-brace-format msgid "no device found owning \"{0}\"" -msgstr "no device found owning \"{0}\"" +msgstr "未找到设备拥有 \"{0}\"" #: ../udiskie/udisks2.py:683 #, python-brace-format msgid "Daemon version: {0}" -msgstr "Daemon version: {0}" +msgstr "守护程序版本: {0}" #: ../udiskie/udisks2.py:688 #, python-brace-format msgid "Keyfile support: {0}" -msgstr "Keyfile support: {0}" +msgstr "支持密钥文件: {0}" #: ../udiskie/udisks2.py:767 #, python-brace-format From f25c1a8b14a95191f84928490056bc76b5da8269 Mon Sep 17 00:00:00 2001 From: knm100 <166389780+knm100@users.noreply.github.com> Date: Sun, 6 Oct 2024 19:16:50 +0800 Subject: [PATCH 9/9] Update zh_CN.po --- lang/zh_CN.po | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lang/zh_CN.po b/lang/zh_CN.po index b037469..343942d 100644 --- a/lang/zh_CN.po +++ b/lang/zh_CN.po @@ -99,7 +99,7 @@ msgstr "" "\t- 没有安装libappindicator\n" "\t- 类型库(typelib)由一个单独的软件包提供\n" "\t- 在编译时禁用了对象自省功能\n" -"启动没有托盘功能udiskie。\n" +"启动不带托盘图标的udiskie。\n" #: ../udiskie/cli.py:436 msgid ""