mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-17 12:06:55 +01:00
more translation markers
This commit is contained in:
parent
64d0c7fae6
commit
eec9716ffa
5 changed files with 22 additions and 23 deletions
|
|
@ -9,7 +9,7 @@ export class DocumentTitlePipe implements PipeTransform {
|
|||
if (value) {
|
||||
return value
|
||||
} else {
|
||||
return "(no title)"
|
||||
return $localize`(no title)`
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ import { Pipe, PipeTransform } from '@angular/core';
|
|||
export class YesNoPipe implements PipeTransform {
|
||||
|
||||
transform(value: boolean): unknown {
|
||||
return value ? "Yes" : "No"
|
||||
return value ? $localize`Yes` : $localize`No`
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue