Add translation keys.

This commit is contained in:
Paulo Reis 2017-06-06 16:46:36 +01:00
parent afa011c813
commit 34796b18c5
2 changed files with 8 additions and 2 deletions

View file

@ -255,9 +255,9 @@ script(type='text/ng-template', id='aggregateChangeEntryTemplate')
i.fa.fa-pencil
.rp-entry-details
.rp-entry-description
| Changed
| #{translate("aggregate_changed")}
del.rp-content-highlight {{ entry.metadata.replaced_content }}
| for
| #{translate("aggregate_to")}
ins.rp-content-highlight {{ entry.content }}
a.rp-collapse-toggle(
href

View file

@ -65,6 +65,8 @@ define [
focused_entry_top = Math.max(focused_entry.scope.entry.screenPos.y, TOOLBAR_HEIGHT)
focused_entry.$box_el.css(
top: focused_entry_top
# The entry element is invisible by default, to avoid flickering when positioning for
# the first time. Here we make sure it becomes visible after having a "top" value.
visibility: "visible"
)
focused_entry.$indicator_el.css(top: focused_entry_top)
@ -78,6 +80,8 @@ define [
previousBottom = top + height
entry.$box_el.css(
top: top
# The entry element is invisible by default, to avoid flickering when positioning for
# the first time. Here we make sure it becomes visible after having a "top" value.
visibility: "visible"
)
entry.$indicator_el.css(top: top)
@ -97,6 +101,8 @@ define [
previousTop = top
entry.$box_el.css(
top: top
# The entry element is invisible by default, to avoid flickering when positioning for
# the first time. Here we make sure it becomes visible after having a "top" value.
visibility: "visible"
)
entry.$indicator_el.css(top: top)