mirror of
https://github.com/Xevion/paperless-mobile.git
synced 2025-12-09 02:07:58 -06:00
feat: Renamed translation strings
This commit is contained in:
@@ -18,7 +18,7 @@ class AddCorrespondentPage extends StatelessWidget {
|
||||
context.read<LabelRepository<Correspondent>>(),
|
||||
),
|
||||
child: AddLabelPage<Correspondent>(
|
||||
pageTitle: Text(S.of(context).addCorrespondentPageTitle),
|
||||
pageTitle: Text(S.of(context).addCorrespondent),
|
||||
fromJsonT: Correspondent.fromJson,
|
||||
initialName: initialName,
|
||||
),
|
||||
|
||||
@@ -21,7 +21,7 @@ class AddDocumentTypePage extends StatelessWidget {
|
||||
context.read<LabelRepository<DocumentType>>(),
|
||||
),
|
||||
child: AddLabelPage<DocumentType>(
|
||||
pageTitle: Text(S.of(context).addDocumentTypePageTitle),
|
||||
pageTitle: Text(S.of(context).addDocumentType),
|
||||
fromJsonT: DocumentType.fromJson,
|
||||
initialName: initialName,
|
||||
),
|
||||
|
||||
@@ -19,7 +19,7 @@ class AddStoragePathPage extends StatelessWidget {
|
||||
context.read<LabelRepository<StoragePath>>(),
|
||||
),
|
||||
child: AddLabelPage<StoragePath>(
|
||||
pageTitle: Text(S.of(context).addStoragePathPageTitle),
|
||||
pageTitle: Text(S.of(context).addStoragePath),
|
||||
fromJsonT: StoragePath.fromJson,
|
||||
initialName: initalValue,
|
||||
additionalFields: const [
|
||||
|
||||
@@ -22,7 +22,7 @@ class AddTagPage extends StatelessWidget {
|
||||
context.read<LabelRepository<Tag>>(),
|
||||
),
|
||||
child: AddLabelPage<Tag>(
|
||||
pageTitle: Text(S.of(context).addTagPageTitle),
|
||||
pageTitle: Text(S.of(context).addTag),
|
||||
fromJsonT: Tag.fromJson,
|
||||
initialName: initialValue,
|
||||
additionalFields: [
|
||||
@@ -30,7 +30,7 @@ class AddTagPage extends StatelessWidget {
|
||||
name: Tag.colorKey,
|
||||
valueTransformer: (color) => "#${color?.value.toRadixString(16)}",
|
||||
decoration: InputDecoration(
|
||||
label: Text(S.of(context).tagColorPropertyLabel),
|
||||
label: Text(S.of(context).color),
|
||||
),
|
||||
colorPickerType: ColorPickerType.materialPicker,
|
||||
initialValue: Color((Random().nextDouble() * 0xFFFFFF).toInt())
|
||||
@@ -38,7 +38,7 @@ class AddTagPage extends StatelessWidget {
|
||||
),
|
||||
FormBuilderCheckbox(
|
||||
name: Tag.isInboxTagKey,
|
||||
title: Text(S.of(context).tagInboxTagPropertyLabel),
|
||||
title: Text(S.of(context).inboxTag),
|
||||
),
|
||||
],
|
||||
),
|
||||
|
||||
@@ -28,14 +28,14 @@ class EditTagPage extends StatelessWidget {
|
||||
initialValue: tag.color,
|
||||
name: Tag.colorKey,
|
||||
decoration: InputDecoration(
|
||||
label: Text(S.of(context).tagColorPropertyLabel),
|
||||
label: Text(S.of(context).color),
|
||||
),
|
||||
colorPickerType: ColorPickerType.blockPicker,
|
||||
),
|
||||
FormBuilderCheckbox(
|
||||
initialValue: tag.isInboxTag,
|
||||
name: Tag.isInboxTagKey,
|
||||
title: Text(S.of(context).tagInboxTagPropertyLabel),
|
||||
title: Text(S.of(context).inboxTag),
|
||||
),
|
||||
],
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user