summaryrefslogtreecommitdiffhomepage
path: root/gui/src
diff options
context:
space:
mode:
authorAndrej Mihajlov <and@mullvad.net>2019-03-18 17:47:29 +0100
committerAndrej Mihajlov <and@mullvad.net>2019-03-18 17:47:29 +0100
commit59c0aa07d7208805fa46743e4d73b19cdd95ad1c (patch)
treed764c6af32ceb4cfb49dca6dcaf35a329aea9f85 /gui/src
parentb3df605be7965b264a5b3f7f49988f3e100dac84 (diff)
parentb1d6bba2fe8bbbb73233542a64d2c39180a9aced (diff)
downloadmullvadvpn-59c0aa07d7208805fa46743e4d73b19cdd95ad1c.tar.xz
mullvadvpn-59c0aa07d7208805fa46743e4d73b19cdd95ad1c.zip
Merge branch 'translation-fixes'
Diffstat (limited to 'gui/src')
-rw-r--r--gui/src/renderer/components/Account.tsx4
-rw-r--r--gui/src/shared/gettext.ts2
2 files changed, 4 insertions, 2 deletions
diff --git a/gui/src/renderer/components/Account.tsx b/gui/src/renderer/components/Account.tsx
index 7864bfa0da..90de402269 100644
--- a/gui/src/renderer/components/Account.tsx
+++ b/gui/src/renderer/components/Account.tsx
@@ -53,7 +53,9 @@ export default class Account extends Component<IProps> {
</View>
<View style={styles.account__row}>
- <Text style={styles.account__row_label}>Paid until</Text>
+ <Text style={styles.account__row_label}>
+ {pgettext('account-view', 'Paid until')}
+ </Text>
<FormattedAccountExpiry
expiry={this.props.accountExpiry}
locale={this.props.expiryLocale}
diff --git a/gui/src/shared/gettext.ts b/gui/src/shared/gettext.ts
index b466a44134..45ff8d3637 100644
--- a/gui/src/shared/gettext.ts
+++ b/gui/src/shared/gettext.ts
@@ -47,7 +47,7 @@ export function loadTranslations(currentLocale: string) {
}
function parseTranslation(locale: string, domain: string): boolean {
- const filename = path.join(LOCALES_DIR, locale, `${domain}-${locale}.po`);
+ const filename = path.join(LOCALES_DIR, locale, `${domain}.po`);
let buffer: Buffer;
try {