diff --git a/views/hypha.qtpl b/views/hypha.qtpl index d6a86e1..db34a9e 100644 --- a/views/hypha.qtpl +++ b/views/hypha.qtpl @@ -9,7 +9,7 @@ {% func beautifulLink(hyphaName string) %}{%s util.BeautifulName(hyphaName) %}{% endfunc %} -{% func mycoLink(lc *l18n.Localizer) %}{%s lc.Get("ui.notexist_write_myco") %}{% endfunc %} +{% func mycoLink(lc *l18n.Localizer) %}{%s lc.Get("ui.notexist_write_myco") %}{% endfunc %} {% func nonExistentHyphaNotice(h *hyphae.Hypha, u *user.User, lc *l18n.Localizer) %}
diff --git a/views/hypha.qtpl.go b/views/hypha.qtpl.go index 2751956..40c506c 100644 --- a/views/hypha.qtpl.go +++ b/views/hypha.qtpl.go @@ -82,11 +82,7 @@ func beautifulLink(hyphaName string) string { //line views/hypha.qtpl:12 func streammycoLink(qw422016 *qt422016.Writer, lc *l18n.Localizer) { //line views/hypha.qtpl:12 - qw422016.N().S(``) + qw422016.N().S(``) //line views/hypha.qtpl:12 qw422016.E().S(lc.Get("ui.notexist_write_myco")) //line views/hypha.qtpl:12 diff --git a/views/mutators.qtpl b/views/mutators.qtpl index 117b104..4742a41 100644 --- a/views/mutators.qtpl +++ b/views/mutators.qtpl @@ -42,7 +42,7 @@ {% endfor %}
-

{%s= lc.Get("edit.help", &l18n.Replacements{"link": fmt.Sprintf("%s", lc.Locale, lc.Get("edit.help_link"))}) %}

+

{%s= lc.Get("edit.help", &l18n.Replacements{"link": fmt.Sprintf("%s", lc.Get("edit.help_link"))}) %}

diff --git a/views/readers.qtpl b/views/readers.qtpl index 9aa8691..350a165 100644 --- a/views/readers.qtpl +++ b/views/readers.qtpl @@ -19,9 +19,9 @@

{%s= lc.Get("ui.attach_title", &l18n.Replacements{"name": beautifulLink(h.Name)}) %}

{% if h.BinaryPath == "" %} -

{%s lc.Get("ui.attach_empty") %} {%s lc.Get("ui.attach_link") %}

+

{%s lc.Get("ui.attach_empty") %} {%s lc.Get("ui.attach_link") %}

{% else %} -

{%s lc.Get("ui.attach_tip") %} {%s lc.Get("ui.attach_link") %}

+

{%s lc.Get("ui.attach_tip") %} {%s lc.Get("ui.attach_link") %}

{% endif %}
diff --git a/views/readers.qtpl.go b/views/readers.qtpl.go index ab5e362..20545c3 100644 --- a/views/readers.qtpl.go +++ b/views/readers.qtpl.go @@ -76,11 +76,7 @@ func StreamAttachmentMenuHTML(qw422016 *qt422016.Writer, rq *http.Request, h *hy //line views/readers.qtpl:22 qw422016.E().S(lc.Get("ui.attach_empty")) //line views/readers.qtpl:22 - qw422016.N().S(` `) + qw422016.N().S(` `) //line views/readers.qtpl:22 qw422016.E().S(lc.Get("ui.attach_link")) //line views/readers.qtpl:22 @@ -94,11 +90,7 @@ func StreamAttachmentMenuHTML(qw422016 *qt422016.Writer, rq *http.Request, h *hy //line views/readers.qtpl:24 qw422016.E().S(lc.Get("ui.attach_tip")) //line views/readers.qtpl:24 - qw422016.N().S(` `) + qw422016.N().S(` `) //line views/readers.qtpl:24 qw422016.E().S(lc.Get("ui.attach_link")) //line views/readers.qtpl:24 diff --git a/views/stuff.qtpl b/views/stuff.qtpl index eb3a0e3..589ff51 100644 --- a/views/stuff.qtpl +++ b/views/stuff.qtpl @@ -198,7 +198,7 @@ It outputs a poorly formatted JSON, but it works and is valid. {% endfunc %} {% func helpTopicBadgeHTML(lang, topic string) %} -? +? {% endfunc %} {% func UserListHTML(lc *l18n.Localizer) %} diff --git a/views/stuff.qtpl.go b/views/stuff.qtpl.go index 2905072..990b7a0 100644 --- a/views/stuff.qtpl.go +++ b/views/stuff.qtpl.go @@ -794,11 +794,7 @@ func helpTopicsHTML(lang string, lc *l18n.Localizer) string { func streamhelpTopicBadgeHTML(qw422016 *qt422016.Writer, lang, topic string) { //line views/stuff.qtpl:200 qw422016.N().S(` -