为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

In the Thunderbird Mail Toolbar, can you change the name of an icon? I would like to change "Write" to "Compose".

  • 8 个回答
  • 1 人有此问题
  • 23 次查看
  • 最后回复者为 rsx11m

more options

Couple of months ago I switched from MacMail to Thunderbird. The transition has gone pretty well, but I am less than enamored of T-bird Toolbar button (named Write) that you use to compose a new email. I would prefer it to be named "Compose". So I was just wondering whether there's any easy (or not) way to do that. I have done some searching for an answer to this, but I'm either searching ineffectively or there's nothing around. TIA.

iMac i3 10.6.8

Couple of months ago I switched from MacMail to Thunderbird. The transition has gone pretty well, but I am less than enamored of T-bird Toolbar button (named Write) that you use to compose a new email. I would prefer it to be named "Compose". So I was just wondering whether there's any easy (or not) way to do that. I have done some searching for an answer to this, but I'm either searching ineffectively or there's nothing around. TIA. iMac i3 10.6.8

所有回复 (8)

more options

Well the easiest way would be right click the toolbar, select customize and change the icons to not show text.

more options

Thanks, Matt. I like having text there, just not that particular text. I find that my eye is looking for something more like "Compose" or MacMail's "New Message." For me, I suspect that "Write" has a near-lifelong (we're talking many decades) cursive connotation. It isn't the biggest of deals, of course, but it's something I would change if I could. Probably something in the source code not user-definable.

more options

Strings are defined in two ways: as entities or properties. While the latter is usually used to build dialog messages, fixed labels for buttons and other UI are mostly defined as entities. Both are either contained in the omni.ja file coming with the installation or can be provided in a language pack. Option #1 has the disadvantage that you'd have to hack the omni.ja file, identify the entity where "Write" is defined (which is newMsgButton.label in messenger.dtd), modify it and update the omni.ja file; option #2 (i.e., creating your own language pack with that string replaced) may require to copy all other strings as well. Either may break with the next update, thus would have to be repeated every 6 weeks.

由rsx11m于修改

more options

Thanks. That's really great stuff and I appreciate the details. I am going to dig deeper. Awesome starting point.

more options

You are welcome. Personally, I'm applying a bunch of patches (other than string changes) for each release, and hacking omni.ja works well for me. It's basically an optimized ZIP file and can be unpacked with many common tools. However, it may break when trying to repack it. Thus, unpack it completely into some new temporary folder, make any changes there, rename the original omni.ja and zip the folder contents into the new omni.ja (obviously while Thunderbird is down).

A more permanent option might be to create an extension that adds a "clone" of the "Write" button to the main toolbar, which is identical except for having the desired label and a different id (or maybe the same id would just override it?), then you can swap it from the toolbar's customization dialog. This certainly has a learning curve but you would be done with doing this effort once. Someone experienced in add-on writing would need to help you here (which I'm not).

Anyway, plenty of ways to screw things up.  ;-)

more options

Thanks again. Where exactly is the omni.ja found? Is it necessary to download a Language Pack to get at it? I can't find omni.ja in my iMac's FS. Thanks.

more options

It's located in the installation directory. On Mac OSX, that should be

/Applications/Thunderbird.app/omni.ja
more options

And no, language packs are extensions that can be used to provide alternative strings to the one coming with the installation, that's a different mechanism.

The following seems to be important on Mac: "To open one of these folders (Thunderbird.app), Ctrl-click it and select Show Package Contents. If you simply click it, you will start the application."