HI Larry @ pressure
我重新打开了我原本的Extras.htm文件和您的Extras-SUIYAN中的Extras.htm需要用户修改的地方做了对比(I have reopened my original Extras.htm file and compared it with the parts of Extras.htm in your Extras SUIYAN that require user modification)
显然空白的部分在我的Extras.htm中得以保留,并且菜单的功能是正常的。请相信这对编程空白的人来说能起到更容易找到需要做修改的位置的作用。
(Obviously, the blank parts have been preserved in my Extras.htm, and the functionality of the menu is normal. Please believe that this can make it easier for those who do not understand programming to find the areas that need to be modified.)
我对您的文件只是做了3个小修改,这在中国的大多数人看来恐怕都不是修改1:将文件保存为UTF-8编码而不是默认的ANSI编码,要知道不是所有人都知道需要更改保存时的编码才能支持他的语言。但他一定会把相应位置名称改为自己的语言。2:增加一个中文的脚本名称(不同语言),是为了告诉需要的人,这个菜单天然支持多语言。3,缩进var additional = 部分的脚本名称是为了告诉编程空白的人,只需要注意 [ 'XX', 'YY', ' ZZ' ];只要分隔符的形式不发生改变,随意更改名称,增加、删除脚本名称都难以出错。
(I have only made three minor modifications to your file, which most people in China may not consider as modification 1: Save the file in UTF-8 encoding instead of the default ANSI encoding. It should be noted that not everyone knows that changing the encoding at the time of saving is necessary to support their language.But he will definitely change the corresponding location name to his own language. 2: Adding a Chinese script name (Different languages) is to inform those in need that this menu naturally supports multiple languages. 3. Indenting the var additional=section of the script name is to inform programming whitespace users that they only need to pay attention to ['XX ',' YY ',' ZZ ']; As long as the form of the delimiter remains unchanged, it is difficult to make mistakes by arbitrarily changing the name, adding or deleting script names.)
我的想法是,所有的更改为了使弄不懂编程的人能够修改和使用,正如您将max版本中的硬编码形式改为了生成式编码(在Michael的讨论中我大概知道 max版本怎么修改,可它仍然不能简明以修改),修改排版样式能让原本不会修改这个文件的人,能够更容易的修改。绝大多数人只使用操作系统自带的记事本来编辑修改,而不使用其他编辑程序。
(My idea is to make all the changes so that people who don't understand programming can modify and use them, just like how you changed the hard coding format in the max version to generative coding (in Michael's discussion, I roughly know how to modify the max version, but it still cannot be modified concisely). Modifying the layout style can make it easier for people who originally wouldn't modify this file to make changes.The vast majority of people only use the built-in notepad of the operating system to edit and modify, without using other editing programs)
|