mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-24 00:14:06 +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>";
|
result += "<script> var $_$=$.noConflict(true); </script>";
|
||||||
|
|
||||||
//custom javascript
|
//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
|
// add qwebchannel
|
||||||
|
@ -144,7 +144,7 @@ std::string ArticleMaker::makeHtmlHeader( QString const & word,
|
||||||
"return tr_map[key] || '';"
|
"return tr_map[key] || '';"
|
||||||
"}"
|
"}"
|
||||||
"</script>";
|
"</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>";
|
result += "</head><body>";
|
||||||
|
|
||||||
return result;
|
return result;
|
||||||
|
|
|
@ -85,7 +85,7 @@
|
||||||
<file>icons/folder.png</file>
|
<file>icons/folder.png</file>
|
||||||
<file>icons/ontop.png</file>
|
<file>icons/ontop.png</file>
|
||||||
<file>resources/jquery-3.6.0.slim.min.js</file>
|
<file>resources/jquery-3.6.0.slim.min.js</file>
|
||||||
<file>resources/gd_custom.js</file>
|
<file>resources/gd-custom.js</file>
|
||||||
<file>resources/gd_builtin.js</file>
|
<file>resources/gd-builtin.js</file>
|
||||||
</qresource>
|
</qresource>
|
||||||
</RCC>
|
</RCC>
|
||||||
|
|
Loading…
Reference in a new issue