Skip to content

Commit

Permalink
Remove unnecessary translation fallbacks
Browse files Browse the repository at this point in the history
  • Loading branch information
JammingBen committed Jan 18, 2023
1 parent 69ee50c commit 63629b3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/web-app-external/src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ export default defineComponent({
...mapGetters(['capabilities']),
pageTitle() {
const translated = this.$gettext('"%{appName}" app page') || ''
const translated = this.$gettext('"%{appName}" app page')
return this.$gettextInterpolate(translated, {
appName: this.applicationName
})
Expand Down
2 changes: 1 addition & 1 deletion packages/web-app-preview/src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ export default defineComponent({
...mapGetters(['capabilities', 'user']),
pageTitle() {
const translated = this.$gettext('Preview for %{currentMediumName}') || ''
const translated = this.$gettext('Preview for %{currentMediumName}')
return this.$gettextInterpolate(translated, {
currentMediumName: this.activeFilteredFile?.name
})
Expand Down

0 comments on commit 63629b3

Please sign in to comment.