mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-23 20:14:05 +00:00
imp. : rename js/css file from gd_ to gd-*
This commit is contained in:
parent
5c76bc746c
commit
70254fe6e0
|
@ -59,7 +59,7 @@ std::string ArticleMaker::makeHtmlHeader( QString const & word,
|
|||
result += "<script> var $_$=$.noConflict(true); </script>";
|
||||
|
||||
//custom javascript
|
||||
result += "<script type=\"text/javascript\" src=\"qrc:///resources/gd_custom.js\"></script>";
|
||||
result += "<script type=\"text/javascript\" src=\"qrc:///resources/gd-custom.js\"></script>";
|
||||
}
|
||||
|
||||
// add qwebchannel
|
||||
|
@ -144,7 +144,7 @@ std::string ArticleMaker::makeHtmlHeader( QString const & word,
|
|||
"return tr_map[key] || '';"
|
||||
"}"
|
||||
"</script>";
|
||||
result+= "<script type=\"text/javascript\" src=\"qrc:///resources/gd_builtin.js\"></script>";
|
||||
result+= "<script type=\"text/javascript\" src=\"qrc:///resources/gd-builtin.js\"></script>";
|
||||
result += "</head><body>";
|
||||
|
||||
return result;
|
||||
|
|
|
@ -85,7 +85,7 @@
|
|||
<file>icons/folder.png</file>
|
||||
<file>icons/ontop.png</file>
|
||||
<file>resources/jquery-3.6.0.slim.min.js</file>
|
||||
<file>resources/gd_custom.js</file>
|
||||
<file>resources/gd_builtin.js</file>
|
||||
<file>resources/gd-custom.js</file>
|
||||
<file>resources/gd-builtin.js</file>
|
||||
</qresource>
|
||||
</RCC>
|
||||
|
|
Loading…
Reference in a new issue