-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
2,修正谷歌翻译转发ui 3,额外修正原生{} => { }防止多标问题 4,翻译后自动使用pangujs 5,转义&
- Loading branch information
Showing
6 changed files
with
50 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
arg_path=function(arg){ | ||
//去除多余斜杠和多余协议头 | ||
if ( arg!=null ){ | ||
arg=string.replace(arg,"/","") | ||
arg=string.match(arg,"<@gmmt:@>(.*)") | ||
} | ||
|
||
//尝试补正# | ||
if ( arg!=null ){ | ||
arg=string.replace("#"+arg,"#+","#") | ||
//console.log(arg) | ||
//gmmt://#t=GameMaker_Language%2FGML_Reference%2FAsset_Management%2FSequences%2FSequences.htm | ||
}else{ | ||
arg="" | ||
} | ||
return arg | ||
} |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.