From db68134f81cb2be49c75db803621ad58eb6db9e3 Mon Sep 17 00:00:00 2001 From: Paulo Reis Date: Thu, 22 Mar 2018 11:48:14 +0000 Subject: [PATCH] Add i18n. --- services/web/app/views/project/editor.pug | 4 ++-- services/web/app/views/project/editor/editor.pug | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/services/web/app/views/project/editor.pug b/services/web/app/views/project/editor.pug index c2dabadb3e..9f72d364cf 100644 --- a/services/web/app/views/project/editor.pug +++ b/services/web/app/views/project/editor.pug @@ -63,8 +63,8 @@ block content resize-on="layout:chat:resize", minimum-restore-size-west="130" custom-toggler-pane="'west'" - custom-toggler-msg-when-open="'Click to close the file tree'" - custom-toggler-msg-when-closed="'Click to open the file tree'" + custom-toggler-msg-when-open="'" + translate("tooltip_hide_filetree") + "'" + custom-toggler-msg-when-closed="'" + translate("tooltip_show_filetree") + "'" ) .ui-layout-west include ./editor/file-tree diff --git a/services/web/app/views/project/editor/editor.pug b/services/web/app/views/project/editor/editor.pug index a2368b98e1..52620b6a81 100644 --- a/services/web/app/views/project/editor/editor.pug +++ b/services/web/app/views/project/editor/editor.pug @@ -9,8 +9,8 @@ div.full-size( minimum-restore-size-east="300" allow-overflow-on="'center'" custom-toggler-pane="'east'" - custom-toggler-msg-when-open="'Click to close the PDF'" - custom-toggler-msg-when-closed="'Click to open the PDF'" + custom-toggler-msg-when-open="'" + translate("tooltip_hide_pdf") + "'" + custom-toggler-msg-when-closed="'" + translate("tooltip_show_pdf") + "'" ) .ui-layout-center( ng-controller="ReviewPanelController",