From 34796b18c5ee622dfcc4ddfb83d402ccc6344d3f Mon Sep 17 00:00:00 2001 From: Paulo Reis Date: Tue, 6 Jun 2017 16:46:36 +0100 Subject: [PATCH] Add translation keys. --- services/web/app/views/project/editor/review-panel.pug | 4 ++-- .../ide/review-panel/directives/reviewPanelSorted.coffee | 6 ++++++ 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/services/web/app/views/project/editor/review-panel.pug b/services/web/app/views/project/editor/review-panel.pug index 65a431f6fd..07f6bd081e 100644 --- a/services/web/app/views/project/editor/review-panel.pug +++ b/services/web/app/views/project/editor/review-panel.pug @@ -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 diff --git a/services/web/public/coffee/ide/review-panel/directives/reviewPanelSorted.coffee b/services/web/public/coffee/ide/review-panel/directives/reviewPanelSorted.coffee index 5178178387..3445ac845a 100644 --- a/services/web/public/coffee/ide/review-panel/directives/reviewPanelSorted.coffee +++ b/services/web/public/coffee/ide/review-panel/directives/reviewPanelSorted.coffee @@ -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)