rework several instances of translated strings being used with single quotes as HTML element attribute values

This commit is contained in:
Andrew Dolgov 2022-01-14 18:03:50 +03:00
parent d3f26cc4a6
commit f1759786d7
3 changed files with 3 additions and 3 deletions

View File

@ -124,7 +124,7 @@ class Af_Psql_Trgm extends Plugin {
function hook_article_button($line) {
return "<i style=\"cursor : pointer\" class='material-icons'
onclick=\"Plugins.Psql_Trgm.showRelated(".$line["id"].")\"
title='".__('Show related articles')."'>bookmark_outline</i>";
title=\"".__('Show related articles')."\">bookmark_outline</i>";
}
function hook_prefs_tab($args) {

View File

@ -52,7 +52,7 @@ class Af_Readability extends Plugin {
function hook_article_button($line) {
return "<i class='material-icons' onclick=\"Plugins.Af_Readability.embed(".$line["id"].")\"
style='cursor : pointer' title='".__('Toggle full article text')."'>description</i>";
style='cursor : pointer' title=\"".__('Toggle full article text')."\">description</i>";
}
function hook_prefs_tab($args) {

View File

@ -18,7 +18,7 @@ class Note extends Plugin {
function hook_article_button($line) {
return "<i class='material-icons' onclick=\"Plugins.Note.edit(".$line["id"].")\"
style='cursor : pointer' title='".__('Edit article note')."'>note</i>";
style='cursor : pointer' title=\"".__('Edit article note')."\">note</i>";
}
function edit() : void {