mirror of
https://github.com/goharbor/harbor.git
synced 2024-10-01 06:47:33 +02:00
added support for german
Signed-off-by: sluetze <13255307+sluetze@users.noreply.github.com>
This commit is contained in:
parent
04c4354df9
commit
33fe276114
@ -27,6 +27,7 @@
|
|||||||
<a href="javascript:void(0)" clrDropdownItem (click)='switchLanguage("fr-fr")' [class.lang-selected]='matchLang("fr-fr")'>Français</a>
|
<a href="javascript:void(0)" clrDropdownItem (click)='switchLanguage("fr-fr")' [class.lang-selected]='matchLang("fr-fr")'>Français</a>
|
||||||
<a href="javascript:void(0)" clrDropdownItem (click)='switchLanguage("pt-br")' [class.lang-selected]='matchLang("pt-br")'>Português do Brasil</a>
|
<a href="javascript:void(0)" clrDropdownItem (click)='switchLanguage("pt-br")' [class.lang-selected]='matchLang("pt-br")'>Português do Brasil</a>
|
||||||
<a href="javascript:void(0)" clrDropdownItem (click)='switchLanguage("tr-tr")' [class.lang-selected]='matchLang("tr-tr")'>Türkçe</a>
|
<a href="javascript:void(0)" clrDropdownItem (click)='switchLanguage("tr-tr")' [class.lang-selected]='matchLang("tr-tr")'>Türkçe</a>
|
||||||
|
<a href="javascript:void(0)" clrDropdownItem (click)='switchLanguage("de-de")' [class.lang-selected]='matchLang("de-de")'>Deutsch</a>
|
||||||
</clr-dropdown-menu>
|
</clr-dropdown-menu>
|
||||||
</clr-dropdown>
|
</clr-dropdown>
|
||||||
<div class="nav-divider"></div>
|
<div class="nav-divider"></div>
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
// See the License for the specific language governing permissions and
|
// See the License for the specific language governing permissions and
|
||||||
// limitations under the License.
|
// limitations under the License.
|
||||||
export const supportedLangs = ['en-us', 'zh-cn', 'zh-tw', 'es-es', 'fr-fr', 'pt-br', 'tr-tr'];
|
export const supportedLangs = ['en-us', 'zh-cn', 'zh-tw', 'es-es', 'fr-fr', 'pt-br', 'tr-tr', 'de-de'];
|
||||||
export const enLang = "en-us";
|
export const enLang = "en-us";
|
||||||
export const languageNames = {
|
export const languageNames = {
|
||||||
"en-us": "English",
|
"en-us": "English",
|
||||||
@ -20,7 +20,8 @@ export const languageNames = {
|
|||||||
"es-es": "Español",
|
"es-es": "Español",
|
||||||
"fr-fr": "Français",
|
"fr-fr": "Français",
|
||||||
"pt-br": "Português do Brasil",
|
"pt-br": "Português do Brasil",
|
||||||
"tr-tr": "Türkçe"
|
"tr-tr": "Türkçe",
|
||||||
|
"de-de": "Deutsch"
|
||||||
};
|
};
|
||||||
export const enum AlertType {
|
export const enum AlertType {
|
||||||
DANGER, WARNING, INFO, SUCCESS
|
DANGER, WARNING, INFO, SUCCESS
|
||||||
|
1596
src/portal/src/i18n/lang/de-de-lang.json
Normal file
1596
src/portal/src/i18n/lang/de-de-lang.json
Normal file
File diff suppressed because it is too large
Load Diff
@ -53,7 +53,7 @@ export const DEFAULT_LANG_COOKIE_KEY = 'harbor-lang';
|
|||||||
/**
|
/**
|
||||||
* Declare what languages are supported now.
|
* Declare what languages are supported now.
|
||||||
*/
|
*/
|
||||||
export const DEFAULT_SUPPORTING_LANGS = ['en-us', 'zh-cn', 'zh-tw', 'es-es', 'fr-fr', 'pt-br', 'tr-tr'];
|
export const DEFAULT_SUPPORTING_LANGS = ['en-us', 'zh-cn', 'zh-tw', 'es-es', 'fr-fr', 'pt-br', 'tr-tr', 'de-de'];
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The default language.
|
* The default language.
|
||||||
|
Loading…
Reference in New Issue
Block a user