Skip to content

Commit

Permalink
chore: Update translations
Browse files Browse the repository at this point in the history
  • Loading branch information
iamareebjamal committed Nov 21, 2020
1 parent 975272a commit 7b1276e
Show file tree
Hide file tree
Showing 19 changed files with 16,474 additions and 9,883 deletions.
9 changes: 9 additions & 0 deletions app/components/widgets/forms/social-link-field.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import Component from '@glimmer/component';
import { inject as service } from '@ember/service';
import { tracked } from '@glimmer/tracking';
import { SocialMedia, socialMediaMap, socialMediaSites } from 'open-event-frontend/utils/dictionary/social-media';

Expand All @@ -7,9 +8,17 @@ interface Args {
}

export default class SocialLinkField extends Component<Args> {
@service l10n: any;

@tracked
site = 'website';

get extras(): string[] {
// Workaround to list translatable strings which
// are not present anywhere statically
return [this.l10n.t('Website')];
}

get sites(): SocialMedia[] {
return [
{
Expand Down
2 changes: 1 addition & 1 deletion app/templates/admin/sales/revenue.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
{{t 'Events'}}
</th>
<th rowspan="2">
{{t 'Event Date '}}
{{t 'Event Date'}}
</th>
<th colspan="3" class="ui green inverted segment center aligned">
{{t 'Completed Orders'}}
Expand Down
Loading

0 comments on commit 7b1276e

Please sign in to comment.