Skip to content

Commit

Permalink
fix: remove signs from translation
Browse files Browse the repository at this point in the history
  • Loading branch information
stamenione committed Jun 25, 2024
1 parent b60b489 commit 5164ca1
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 10 deletions.
10 changes: 5 additions & 5 deletions AdminUi/apps/admin_ui/lib/core/modals/add_quota_dialog.dart
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ class _AddQuotaDialogState extends State<_AddQuotaDialog> {
onChanged: _saving ? null : (String? selected) => setState(() => _selectedMetric = selected),
decoration: InputDecoration(
border: const OutlineInputBorder(),
labelText: context.l10n.metric,
labelText: '${context.l10n.metric}*',
),
),
Gaps.h24,
Expand All @@ -103,7 +103,7 @@ class _AddQuotaDialogState extends State<_AddQuotaDialog> {
enabled: !_saving,
decoration: InputDecoration(
border: const OutlineInputBorder(),
labelText: context.l10n.maxEntities('Amount'),
labelText: '${context.l10n.maxEntities('Amount')}*',
helperText: context.l10n.max_amount_message,
),
inputFormatters: <TextInputFormatter>[FilteringTextInputFormatter.digitsOnly],
Expand All @@ -120,9 +120,9 @@ class _AddQuotaDialogState extends State<_AddQuotaDialog> {
DropdownMenuItem(value: 'Year', child: Text(context.l10n.year)),
],
onChanged: _saving ? null : (String? selected) => setState(() => _selectedPeriod = selected),
decoration: const InputDecoration(
border: OutlineInputBorder(),
labelText: 'Period*',
decoration: InputDecoration(
border: const OutlineInputBorder(),
labelText: '${context.l10n.period}*',
),
),
if (_errorMessage != null)
Expand Down
6 changes: 4 additions & 2 deletions AdminUi/apps/admin_ui/lib/home/tier_detail/tier_detail.dart
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,9 @@ class _TierDetailState extends State<TierDetail> {
Text.rich(
TextSpan(
children: [
TextSpan(text: context.l10n.id, style: Theme.of(context).textTheme.bodyLarge!.copyWith(fontWeight: FontWeight.bold)),
TextSpan(
text: '${context.l10n.id}: ',
style: Theme.of(context).textTheme.bodyLarge!.copyWith(fontWeight: FontWeight.bold)),
TextSpan(text: tierDetails.id, style: Theme.of(context).textTheme.bodyLarge),
],
),
Expand All @@ -72,7 +74,7 @@ class _TierDetailState extends State<TierDetail> {
TextSpan(
children: [
TextSpan(
text: context.l10n.name,
text: '${context.l10n.name}: ',
style: Theme.of(context).textTheme.bodyLarge!.copyWith(fontWeight: FontWeight.bold),
),
TextSpan(text: tierDetails.name, style: Theme.of(context).textTheme.bodyLarge),
Expand Down
6 changes: 3 additions & 3 deletions AdminUi/apps/admin_ui/lib/l10n/app_en.arb
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,15 @@
"default_tier": "Default Tier",
"display_name": "Display Name",
"hour": "Hour",
"id": "ID: ",
"id": "ID",
"identities": "Identities",
"individual": "Individual",
"last_login_at": "Last Login at",
"light": "Light",
"max": "Max",
"metric": "Metric*",
"metric": "Metric",
"month": "Month",
"name": "Name: ",
"name": "Name",
"period": "Period",
"public_key": "Public Key",
"quotas": "Quotas",
Expand Down

0 comments on commit 5164ca1

Please sign in to comment.