Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed Typo (Boostrap -> Bootstrap) / German translation #158

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/app/app.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ import { TranslateService } from '@ngx-translate/core';
})
export class AppComponent {
constructor(private translate: TranslateService) {
translate.addLangs(['en', 'fr', 'ur', 'es', 'it', 'fa']);
translate.addLangs(['en', 'fr', 'ur', 'es', 'it', 'fa', 'de']);
translate.setDefaultLang('en');
const browserLang = translate.getBrowserLang();
translate.use(browserLang.match(/en|fr|ur|es|it|fa/) ? browserLang : 'en');
translate.use(browserLang.match(/en|fr|ur|es|it|fa|de/) ? browserLang : 'en');
}
}
1 change: 1 addition & 0 deletions src/app/shared/components/header/header.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ <h5 class="mt-0 mb-1">John Smith</h5>
<a class="dropdown-item" href="javascript:void(0)" (click)="changeLang('es')">{{ 'Spanish' | translate }}</a>
<a class="dropdown-item" href="javascript:void(0)" (click)="changeLang('it')">{{ 'Italian' | translate }}</a>
<a class="dropdown-item" href="javascript:void(0)" (click)="changeLang('fa')">{{ 'Farsi' | translate }}</a>
<a class="dropdown-item" href="javascript:void(0)" (click)="changeLang('de')">{{ 'German' | translate }}</a>
</div>
</li>
<li class="nav-item dropdown" ngbDropdown>
Expand Down
4 changes: 2 additions & 2 deletions src/app/shared/components/sidebar/sidebar.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@
<i class="fa fa-fw fa-edit"></i>&nbsp;{{ 'Forms' | translate }}
</a>
<a [routerLink]="['/bs-element']" [routerLinkActive]="['router-link-active']" class="list-group-item">
<i class="fa fa-fw fa-desktop"></i>&nbsp;{{ 'Boostrap Element' | translate }}
<i class="fa fa-fw fa-desktop"></i>&nbsp;{{ 'Bootstrap Element' | translate }}
</a>
<a [routerLink]="['/grid']" [routerLinkActive]="['router-link-active']" class="list-group-item">
<i class="fa fa-fw fa-wrench"></i>&nbsp;{{ 'Boostrap Grid' | translate }}
<i class="fa fa-fw fa-wrench"></i>&nbsp;{{ 'Bootstrap Grid' | translate }}
</a>
<a [routerLink]="['/components']" [routerLinkActive]="['router-link-active']" class="list-group-item">
<i class="fa fa-th-list"></i>&nbsp;{{ 'Component' | translate }}
Expand Down
27 changes: 27 additions & 0 deletions src/assets/i18n/de.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{
"Dashboard": "Dashboard",
"Charts": "Graphen",
"Tables": "Tabellen",
"Forms": "Formulare",
"Bootstrap Element": "Bootstrap Element",
"Bootstrap Grid": "Bootstrap Grid",
"Component": "Komponente",
"Menu": "Menü",
"Submenu": "Submenü",
"Blank Page": "Leere Seite",
"More Theme": "Mehr Themes",
"Download Now": "Jetzt runterladen",
"Language": "Sprache",
"English": "Englisch",
"French": "Französisch",
"Urdu": "Urdu",
"Spanish": "Spanisch",
"Italian": "Italienisch",
"Farsi": "Farsi",
"German": "Deutsch",
"Search" : "Suchen",
"Settings" : "Einstellungen",
"Profile" : "Profil",
"Inbox" : "Posteingang",
"Log Out" : "Ausloggen"
}
5 changes: 3 additions & 2 deletions src/assets/i18n/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
"Charts": "Charts",
"Tables": "Tables",
"Forms": "Forms",
"Boostrap Element": "Boostrap Element",
"Boostrap Grid": "Boostrap Grid",
"Bootstrap Element": "Bootstrap Element",
"Bootstrap Grid": "Bootstrap Grid",
"Component": "Component",
"Menu": "Menu",
"Submenu": "Submenu",
Expand All @@ -18,6 +18,7 @@
"Spanish": "Spanish",
"Italian": "Italian",
"Farsi": "Farsi",
"German": "German",
"Search" : "Search",
"Settings" : "Settings",
"Profile" : "Profile",
Expand Down
5 changes: 3 additions & 2 deletions src/assets/i18n/es.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
"Charts": "Caracteres",
"Tables": "Tablas",
"Forms": "Formularios",
"Boostrap Element": "Elementos Boostrap",
"Boostrap Grid": "Rejilla Boostrap",
"Bootstrap Element": "Elementos Bootstrap",
"Bootstrap Grid": "Rejilla Bootstrap",
"Component": "Componentes",
"Menu": "Menú",
"Submenu": "Submenú",
Expand All @@ -18,6 +18,7 @@
"Spanish": "Español",
"Italian": "Italiano",
"Farsi": "Farsi",
"German": "Alemán",
"Search" : "Búsqueda",
"Settings" : "Ajustes",
"Profile" : "Profile",
Expand Down
5 changes: 3 additions & 2 deletions src/assets/i18n/fa.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
"Charts": "چارت ها",
"Tables": "جداول",
"Forms": "فرم ها",
"Boostrap Element": "عناصر بوتسترپ",
"Boostrap Grid": "جداول بوتسترپ",
"Bootstrap Element": "عناصر بوتسترپ",
"Bootstrap Grid": "جداول بوتسترپ",
"Component": "کامپوننت",
"Menu": "منوها",
"Submenu": "زیر منوها",
Expand All @@ -18,6 +18,7 @@
"Spanish": "Spanish",
"Italian": "Italian",
"Farsi": "Farsi",
"German": "German",
"Search" : "Search",
"Settings" : "Settings",
"Profile" : "Profile",
Expand Down
5 changes: 3 additions & 2 deletions src/assets/i18n/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
"Charts": "Hit-parade",
"Tables": "Tableaux",
"Forms": "Froms",
"Boostrap Element": "Bootstrap Élément",
"Boostrap Grid": "Bootstrap Grille",
"Bootstrap Element": "Bootstrap Élément",
"Bootstrap Grid": "Bootstrap Grille",
"Component": "Composant",
"Menu": "Menu",
"Submenu": "Sous-menu",
Expand All @@ -18,6 +18,7 @@
"Spanish": "Spanish",
"Italian": "Italien",
"Farsi": "Farsi",
"German": "Allemand",
"Search" : "Chercher",
"Settings" : "Paramètres",
"Profile" : "Profile",
Expand Down
5 changes: 3 additions & 2 deletions src/assets/i18n/it.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
"Charts": "Grafici",
"Tables": "Tabelle",
"Forms": "Formulari",
"Boostrap Element": "Elementi Boostrap",
"Boostrap Grid": "Griglia Boostrap",
"Bootstrap Element": "Elementi Bootstrap",
"Bootstrap Grid": "Griglia Bootstrap",
"Component": "Componenti",
"Menu": "Menu",
"Submenu": "Submenu",
Expand All @@ -18,6 +18,7 @@
"Spanish": "Spagnolo",
"Italian": "Italiano",
"Farsi": "Farsi",
"German": "Tedesco",
"Search" : "Ricerca",
"Settings" : "Impostazioni",
"Profile" : "Profilo",
Expand Down
5 changes: 3 additions & 2 deletions src/assets/i18n/ur.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
"Charts": "چارت ها",
"Tables": "جداول",
"Forms": "فرم ها",
"Boostrap Element": "عنصر بوتسترپ",
"Boostrap Grid": "جدول بوتسترپ",
"Bootstrap Element": "عنصر بوتسترپ",
"Bootstrap Grid": "جدول بوتسترپ",
"Component": "کامپوننت",
"Menu": "منو",
"Submenu": "زیر منو",
Expand All @@ -18,6 +18,7 @@
"Spanish": "ہسپانوی",
"Italian": "اطالوی",
"Farsi": "فارسی",
"German": "جرمن",
"Search" : "تلاش کریں",
"Settings" : "ترتیبات",
"Profile" : "پروفائل",
Expand Down