Skip to content

Commit

Permalink
fix: translation of "of"
Browse files Browse the repository at this point in the history
fixes #408
  • Loading branch information
arildm committed Nov 19, 2024
1 parent 1398d51 commit 6cb1140
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
- Parallel mode is consistently checked against the `parallel` config setting, and not the mode name
- Search history fails to select corpus [#405](https://github.com/spraakbanken/korp-frontend/issues/405)
- Search history fails to distinguish options with same label [#406](https://github.com/spraakbanken/korp-frontend/issues/406)
- The "X of Y corpora selected" phrase is not properly translated [#408](https://github.com/spraakbanken/korp-frontend/issues/408)

## [9.7.1] - 2024-09-18

Expand Down
2 changes: 1 addition & 1 deletion app/scripts/components/corpus-chooser/corpus-chooser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ angular.module("korpApp").component("corpusChooser", {
>
<div ng-if="$ctrl.initialized">
<span ng-if-start="$ctrl.selectCount != 1">{{ $ctrl.selectCount }}</span>
<span>{{ 'corpselector_of' | loc }}</span>
<span>{{ 'corpselector_of' | loc:$root.lang }}</span>
<span>{{ $ctrl.totalCount }}</span>
<span ng-if-end>{{'corpselector_selectedmultiple' | loc:$root.lang }}</span>
Expand Down

0 comments on commit 6cb1140

Please sign in to comment.