Skip to content

Commit

Permalink
fix: set org specific examples for line numbers to filter on
Browse files Browse the repository at this point in the history
  • Loading branch information
mikaelbr committed Feb 23, 2024
1 parent b46f7d6 commit 20bc89b
Showing 1 changed file with 28 additions and 6 deletions.
34 changes: 28 additions & 6 deletions src/translations/pages/assistant.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import { translation as _ } from '@atb/translations/commons';
import { orgSpecificTranslations } from '../utils';

export const Assistant = {
const AssistantInternal = {
title: _('Planlegg reisen', 'Plan travel', 'Planlegg reisa'),
homeLink: (name: string) =>
_(`Tilbake til ${name}`, `Back to ${name}`, `Tilbake til ${name}`),
Expand Down Expand Up @@ -49,11 +50,7 @@ export const Assistant = {
'Eg reiser med linje',
),
placeholder: _('linjenummer', 'line number', 'linjenummer'),
example: _(
'Eksempel: 901, 800',
'Example: 901, 800',
'Eksempel: 901, 800',
),
example: _('Eksempel: 2, 10', 'Example: 2, 10', 'Eksempel: 2, 10'),
},
buttons: {
find: {
Expand Down Expand Up @@ -407,3 +404,28 @@ export const Assistant = {
},
},
};

export const Assistant = orgSpecificTranslations(AssistantInternal, {
nfk: {
search: {
lineFilter: {
example: _(
'Eksempel: 100, 200, 300',
'Example: 100, 200, 300',
'Eksempel: 100, 200, 300',
),
},
},
},
fram: {
search: {
lineFilter: {
example: _(
'Eksempel: 901, 800',
'Example: 901, 800',
'Eksempel: 901, 800',
),
},
},
},
});

0 comments on commit 20bc89b

Please sign in to comment.