Howtos
如何做...
How to translate/localize myBase user interface?(如何翻译myBase界面语言)
myBase supports multilingual user interface. By default, myBase loads locale messages from within the [./lang/enu.ini] file, and displays all messages in English. If you'd like to have a localized user interface other than the default English, please try to first make a copy of the [enu.ini] file in the same folder and rename it with [your-language-id.ini], and then translate messages in the file into your language, finally, restart myBase to load it into the language list.
myBase支持多语言界面,默认情况下,myBase会使用软件安装目录下的./lang/enu.ini语言文件,并以英文显示界面。如果你想把英文翻译成你熟悉的语言,需要复制enu.ini并改名为您语言的缩写。例如瑞典语为swe.ini,法语为fre.ini。翻译完成后,重启myBase既可以载入新的语言文件。
If you have a language file accomplished and would like to share with other users, please contact us, we greatly appreciate your help.
如你想把自制的语言文件和其他用户分享,请联系我们,谢谢。
For your reference, here're a few sample translations contributed by users of myBase 6.x; If you'd like to test with them, please download and extract the .INI file into the ./lang sub folder under the program's install folder, and then restart myBase to load the newly added language pack;
以下提供一些myBase 6.x的语言文件供参考:
- Deutsch (Norbert Muller)
- French (Axel FALCK)
- Romanian (Alexandru Bogdan Munteanu)
- Russian (Churakov Anton)
- Swedish (Patrick Nielsen)
Note that these language packs worked well with v6.x, but some of messages may be incompletely translated within v7.x.
需要注意的是这些语言文件是专门适用于v6.x的,如在v7.x下使用,有些翻译并不完全。
How to apply relative file paths to shortcuts/hyperlinks?(如何使用相对路径的快捷方式或超链接?)
myBase supports the 'Relative path' feature, which allows to create links to local files with relative path. To use relative path, you'll need to first put documents into the directory where the current .nyf database file resides, and then insert the documents into myBase as hyperlinks or shortcuts, the 'relative path' is automatically applied. When triggering the hyperlinks/shortcuts, the relative path is evaluated.
myBase引入了相对路径的概念,您可以使用它来创建到本地文件的链接。首先,您需要把所有文档放在当前nyf数据库文档所在的目录,然后以快捷方式或超链接方式链接这些文档,这样相对路径就会被自动使用。
The 'Relative path' feature helps maintain the consistency between .nyf database and linked documents, and keep shortcuts/hyperlinks functional even after they're moved together to elsewhere.
相对路径的功能帮助维持nyf数据库和链接文件之间的一致性,在nyf数据库文件和相链接的文档同时移动到其他目录的时候,链接的功能也能正常工作。
How to rename an info item?(如何重命名信息条目?)
To rename an info item, simply press F2, or click twice (i.e. click and then click, rather than a double-click) on the info item, or select the 'Edit - Edit/Rename' menu item, then the item title goes into edit mode, whereby you can edit the title text.
如要修改节点名,可以按F2按钮或者双击节点,或者通过菜单【编辑 - 编辑或重命名】,然后信息条目名将进入可编辑模式,您可以输入新的条目名。
In addition, you can also copy the currently selected text from within the HTML editor to item title , by selecting the 'Edit - Copy text to title' menu item.
另外您还可以使当前复制文本变成信息条目名。您需要先选定文本,然后通过菜单【编辑 - 复制文本到标题】实现。
How to customize default formatting for HTML content(如何改变HTML内容的默认格式?)
When adding new info items, item content will be initialized with the default formatting (font/size/color...). To customize the default text formatting, please select the 'View - Options' menu item, under the 'Edit' tab, you can change the default text formatting.
在加入新的信息条目时,条目文本将会自动使用默认的格式(字体,颜色,大小...)。如要自定义文本格式,可以通过菜单【查看 - 选项】,在【编辑】页即可修改默认文本格式。
Note that the default text formatting only applies to new info items added thereafter, but not affect any existing HTML contents.
需要注意的是修改后的格式只会被应用在新创建的信息条目,之前创建的信息条目不会受到影响。
How to multi-select info items?(如何选择多信息条目)
To have multiple info items selected within the outline view, please use Ctrl+Click or Shift+Click, i.e. hold down the Ctrl (or Shift) key as a modifier when clicking info items by mouse.
在大纲视图下,可以通过使用Ctrl+鼠标点击或者Shift+鼠标点击的方式来多选信息条目。
How to customize the keyboard shortcuts?(如何自定义键盘快捷键)
To customize keyboard shortcuts for menu commands, please select the 'View - Options' menu item, then click the 'Keyboard' tab, and find/filter the command items in the list, and then simply hit a combination/function key on the command item.
如需自定义菜单的键盘快捷键,您可以通过菜单【查看 - 选项 - 键盘】。
How to undelete attachments or info items?(如何恢复已删除的节点或者附件?)
Please select the 'File - Maintenance - Undelete Items' menu item, the 'Undelete items' window pops up, and all info items including trashed items are listed in a tree view, whereby you can choose to undelete info items or attachments.
您可以使用【文件 - 维护 - 恢复删除项】菜单,在弹出的“恢复标记删除的内容”窗口中,被删除的放在回收站里的节点和附件都会显示在树形结构下,您可以选择进行恢复。