mirror of
https://github.com/goharbor/harbor.git
synced 2024-11-15 14:56:13 +01:00
Merge pull request #13511 from sluetze/12807-i18n-de-de
[i18n] added support for German
This commit is contained in:
commit
dbec54573c
@ -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("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("de-de")' [class.lang-selected]='matchLang("de-de")'>Deutsch</a>
|
||||
</clr-dropdown-menu>
|
||||
</clr-dropdown>
|
||||
<div class="nav-divider"></div>
|
||||
|
@ -11,7 +11,7 @@
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// 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 languageNames = {
|
||||
"en-us": "English",
|
||||
@ -20,7 +20,8 @@ export const languageNames = {
|
||||
"es-es": "Español",
|
||||
"fr-fr": "Français",
|
||||
"pt-br": "Português do Brasil",
|
||||
"tr-tr": "Türkçe"
|
||||
"tr-tr": "Türkçe",
|
||||
"de-de": "Deutsch"
|
||||
};
|
||||
export const enum AlertType {
|
||||
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.
|
||||
*/
|
||||
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.
|
||||
|
Loading…
Reference in New Issue
Block a user