mirror of
https://github.com/overleaf/overleaf.git
synced 2025-04-13 07:24:46 +00:00
Add i18n.
This commit is contained in:
parent
2ee42af1de
commit
663ca275cb
2 changed files with 6 additions and 6 deletions
|
@ -45,7 +45,7 @@
|
|||
text="history.diff.text",
|
||||
highlights="history.diff.highlights",
|
||||
read-only="true",
|
||||
resize-on="layout:main:resize",
|
||||
resize-on="layout:main:resize,history:toggle",
|
||||
navigate-highlights="true"
|
||||
)
|
||||
.alert.alert-info(ng-if="history.diff.binary")
|
||||
|
@ -70,7 +70,7 @@
|
|||
font-size="settings.fontSize",
|
||||
text="history.selectedFile.text",
|
||||
read-only="true",
|
||||
resize-on="layout:main:resize",
|
||||
resize-on="layout:main:resize,history:toggle",
|
||||
)
|
||||
.alert.alert-info(ng-if="history.selectedFile.binary")
|
||||
| We're still working on showing image and binary changes, sorry. Stay tuned!
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
time.history-toolbar-time {{ history.selection.updates[0].meta.end_ts | formatDate:'Do MMM YYYY, h:mm a' }}
|
||||
span.history-toolbar-selected-version(
|
||||
ng-show="!history.loadingFileTree && history.showOnlyLabels && history.selection.label"
|
||||
) Browsing project version labelled
|
||||
) #{translate("browsing_project_labelled")}
|
||||
span.history-toolbar-selected-label "{{ history.selection.label.comment }}"
|
||||
div.history-toolbar-actions
|
||||
button.history-toolbar-btn(
|
||||
|
@ -31,9 +31,9 @@
|
|||
.history-toolbar-entries-list
|
||||
toggle-switch(
|
||||
ng-model="history.showOnlyLabels"
|
||||
label-true="Labels"
|
||||
label-false="All history"
|
||||
description="Show all of the project history or only labelled versions."
|
||||
label-true=translate("history_view_labels")
|
||||
label-false=translate("history_view_all")
|
||||
description=translate("history_view_a11y_description")
|
||||
)
|
||||
|
||||
script(type="text/ng-template", id="historyV2AddLabelModalTemplate")
|
||||
|
|
Loading…
Add table
Reference in a new issue