Closed Bug 657852 Opened 13 years ago Closed 11 years ago

The translation of Enter key is wrong

Categories

(Mozilla Localizations :: zh-CN / Chinese (Simplified), defect)

x86_64
Windows 7
defect
Not set
trivial

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: Siramizu, Assigned: shaohua.wen)

Details

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (Windows NT 5.1; rv:2.0.1) Gecko/20100101 Firefox/4.0.1
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; zh-CN; rv:1.9.2.17) Gecko/20110414 Thunderbird/3.1.10

Just now I have tried to send email using shortcut keys, so I looked around in the &File menu (of course in Chinese it is 文件(&F) menu), then I found the shortcut key of Send (发送(&D)) is translated to Ctrl+返回

In China, people knows Enter as 回车, and key is 键,so Enter key is 回车键, 返回 means return, and I can't find any Return key on the keyboard.

Reproducible: Always

Steps to Reproduce:
1. Compose or reply an email using Chinese Simplified version, anyway just go in to edit mode;
2. Click on the File menu (the first one from left), in Chinese it's called 文件(&F);


Actual Results:  
then you can see Ctrl+返回 and Ctrl+Shift+返回
and I can't find any Return key, so I'm guessing it's Enter key, the shortcut works

Expected Results:  
As I said before, most people knows Enter as 回车, not 返回
To be frank, I don't know whether the word Enter can meaning return
this should have been fixed, could you please help confirm? thanks!
Status: UNCONFIRMED → RESOLVED
Closed: 11 years ago
Resolution: --- → WORKSFORME
Wow, 2 years later

My Thunderbird is 24.0.1 now, and the shortcut key still wrong.
I only can see Ctrl+Return and Ctrl+Shift+Return without any translation.
And it should be Ctrl+Enter(Ctrl+回车) and Ctrl+Shift+Enter(Ctrl+Shift+回车).

Thank you
Status: RESOLVED → UNCONFIRMED
OS: Windows XP → Windows 7
Hardware: x86 → x86_64
Resolution: WORKSFORME → ---
<Loop Axel>
Do you mean in the mail compose window the shortcut keys in the file menu?
Those are not localizable.
Attached image tb+_return_key.jpg
(In reply to Shaohua Wen from comment #3)
> <Loop Axel>
> Do you mean in the mail compose window the shortcut keys in the file menu?
Yes
> Those are not localizable.
When 2 years ago I report this bug, it was localizable, and you can see Ctrl+返回, so I think it's a bug

Btw: even some keyboards using the "回车" instead of "Enter" on the "Enter key" and the menu said it's "Return key"
I think you need to localize this file (don't have a Windows machine around to check)
http://hg.mozilla.org/mozilla-central/file/423b9c30c73d/toolkit/locales/en-US/chrome/global/keys.properties
Thanks Francesco!
It's in the tookit.
@Reporter, we are translating it here: 
  https://narro.mozest.com/narro_file_text_list.php?l=zh-CN&p=23&f=4456&tf=1&st=1&s=
 Could you please take a look and suggest the correct tranlsations for those keys?
(In reply to Siramizu from comment #5)
> > Those are not localizable.
Sorry for my mistake cause I can't find it in the thunderbird l10n files.
(In reply to Shaohua Wen from comment #7)
> @Reporter, we are translating it here: 
>  
> https://narro.mozest.com/narro_file_text_list.php?l=zh-
> CN&p=23&f=4456&tf=1&st=1&s=
>  Could you please take a look and suggest the correct tranlsations for those
> keys?
There are a lot of people know the "Enter" is "回车", but may not know the other keys.
So I think not localize other keys are ok.

A suggestion is you may expand the "Del", "Ins" to "Delete", "Insert".
A full keyboard may have two "Del" "Ins" keys, and the shorter one usually in the number area.
As most pc can turn on the "Number Lock" at system boot, if a user want press the "shorter one",
he must turn off the "Number Lock" first. But if use the "longger one", it always works.

Another question:
See the line 60 61 of the file mentioned in comment 6[1]
    60 VK_ENTER=Enter
    61 VK_RETURN=Return
Then see the MSDN - Virtual-Key Codes[2]
    VK_RETURN 0x0D is "Enter key"

The result is on windows platform, the "Enter key" is VK_RETURN
but in the file[1], VK_RETURN=Return, it may cause translation not correspond.

[1] - http://hg.mozilla.org/mozilla-central/file/423b9c30c73d/toolkit/locales/en-US/chrome/global/keys.properties
[2] - http://msdn.microsoft.com/en-us/library/windows/desktop/dd375731%28v=vs.85%29.aspx
So there is nothing need to be updated in the translation right?
Anyway it's strange that we normally couldn't find a "Return" key on our US keyboard layout.
(In reply to Shaohua Wen from comment #10)
> Anyway it's strange that we normally couldn't find a "Return" key on our US
> keyboard layout.
The "Return" key can found on the Apple Mac keyboard,
you can see "return" and "enter" on single key, the "enter" above the "return"

> So there is nothing need to be updated in the translation right?
As I mentioned in comment 9, windows use VK_RETURN as "Enter" key.
So I suggest
1. using the text "Enter" for VK_RETURN on the windows version.
2. translate the "Enter" to "回车" if we using a windows version.
(In reply to Siramizu from comment #11)
> (In reply to Shaohua Wen from comment #10)
> > Anyway it's strange that we normally couldn't find a "Return" key on our US
> > keyboard layout.
> The "Return" key can found on the Apple Mac keyboard,
> you can see "return" and "enter" on single key, the "enter" above the
> "return"
But this bug is for Windows right?  it should have nothing to do with Mac?

> > So there is nothing need to be updated in the translation right?
> As I mentioned in comment 9, windows use VK_RETURN as "Enter" key.
> So I suggest
> 1. using the text "Enter" for VK_RETURN on the windows version.
> 2. translate the "Enter" to "回车" if we using a windows version.
Then I think this problem is not the l10n problem.
@Axel maybe we need to check why VK_RETURN is showed in the windows version App menu? should it be VK_ENTER instead?
I'd suggest to file a bug on thunderbird, http://mxr.mozilla.org/comm-central/source/mail/locales/en-US/chrome/messenger/messengercompose/messengercompose.dtd#45 defines the command keys to be platform independent, which might not be great.
@Reporter, do you want to file this bug as Axel mentioned? I can help as well.
(In reply to Shaohua Wen from comment #12)
> (In reply to Siramizu from comment #11)
> > (In reply to Shaohua Wen from comment #10)
> > > Anyway it's strange that we normally couldn't find a "Return" key on our US
> > > keyboard layout.
> > The "Return" key can found on the Apple Mac keyboard,
> > you can see "return" and "enter" on single key, the "enter" above the
> > "return"
> But this bug is for Windows right?  it should have nothing to do with Mac?
Maybe also Linux, I just looked at a Thunderbird 24.0 on Ubuntu it is "Return".
Mac keyboard really have a "return" key, I think it should not be changed.

(In reply to Shaohua Wen from comment #14)
> @Reporter, do you want to file this bug as Axel mentioned? I can help as
> well.
Yes, please help me file this bug.
Bug 928291 filed.
So I will close this bug since it's not an l10n bug actually.
Status: UNCONFIRMED → RESOLVED
Closed: 11 years ago11 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: