-
-
Notifications
You must be signed in to change notification settings - Fork 205
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
z18n: actually translate messages (hidden setting for now)
Also mark more messages and fix a few minor things in z18n.
- Loading branch information
Showing
37 changed files
with
289 additions
and
201 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
/public/jquery.js | ||
/public/*.min.* | ||
/pack | ||
/msg |
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
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
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
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
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 |
---|---|---|
@@ -1,17 +1,24 @@ | ||
<div class="pages-list {{if .Daily}}pages-list-daily{{end}}" data-widget="{{.ID}}"> | ||
{{/* TODO: make option to split counts between events and regular pageviews */}} | ||
<h2 class="full-width">Pages <small> | ||
{{/* TODO: make option to split counts between events and regular pageviews */}} | ||
<span class="total-unique-display">{{nformat .TotalUniqueDisplay $.User}}</span> out of | ||
{{nformat .TotalUnique $.User}} visits shown | ||
</small></h2> | ||
{{/* | ||
TODO: bit tricky due to nested HTML | ||
{{t .Context "header/pages|Pages %[small %(n) out of %(total) visits shown]" (dict | ||
"small" (tag "small") | ||
"n" (nformat .TotalUniqueDisplay $.User) | ||
"total" (nformat .TotalUnique $.User) | ||
)}} | ||
*/}} | ||
|
||
{{if .Err}} | ||
<em>Error: {{.Err}}</em> | ||
<em>{{t .Context "p/error|Error: %(error-message)" .Err}}</em> | ||
{{else}} | ||
<table class="count-list count-list-pages" data-max="{{.Max}}" data-scale="{{.Max}}"> | ||
<tbody class="pages">{{template "_dashboard_pages_rows.gohtml" .}}</tbody> | ||
</table> | ||
<a href="#" class="load-more" {{if not .MorePages}}style="display: none"{{end}}>Show more</a> | ||
<a href="#" class="load-more" {{if not .MorePages}}style="display: none"{{end}}>{{t .Context "link/show-more|Show more"}}</a> | ||
{{end}} | ||
</div> | ||
|
||
|
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
Oops, something went wrong.