Skip to content

Commit

Permalink
Adding login template strings for translation
Browse files Browse the repository at this point in the history
  • Loading branch information
sg00dwin committed Apr 8, 2021
1 parent 629a5d0 commit c8860f6
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
8 changes: 8 additions & 0 deletions frontend/public/components/pod.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,14 @@ import { VolumesTable } from './volumes-table';
import { PodModel } from '../models';
import { Conditions } from './conditions';

// Key translations for oauth login templates
// t('public~Log in to your account')
// t('public~Log in')
// t('public~Login')
// t('public~Welcome to {{platformTitle}}')
// t('public~Log in with {{providerName}}')
// t('public~Error')

// Only request metrics if the device's screen width is larger than the
// breakpoint where metrics are visible.
const showMetrics =
Expand Down
6 changes: 6 additions & 0 deletions frontend/public/locales/en/public.json
Original file line number Diff line number Diff line change
Expand Up @@ -435,6 +435,12 @@
"Reconnect": "Reconnect",
"Connecting to": "Connecting to",
"Expand": "Expand",
"Log in to your account": "Log in to your account",
"Log in": "Log in",
"Login": "Login",
"Welcome to {{platformTitle}}": "Welcome to {{platformTitle}}",
"Log in with {{providerName}}": "Log in with {{providerName}}",
"Error": "Error",
"Ready": "Ready",
"Restarts": "Restarts",
"Owner": "Owner",
Expand Down

0 comments on commit c8860f6

Please sign in to comment.