You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nifi.apache.org by sc...@apache.org on 2019/08/19 16:27:41 UTC

[nifi-registry] 04/04: [NIFIREG-303] amend commit lowercase locale

This is an automated email from the ASF dual-hosted git repository.

scottyaslan pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nifi-registry.git

commit 0a27e6776b494bec05ce2bb11468d9faeb5fbe26
Author: Scott Aslan <sc...@gmail.com>
AuthorDate: Mon Aug 19 12:25:55 2019 -0400

    [NIFIREG-303] amend commit lowercase locale
    
    This closes #215
    
    Signed-off-by: Scott Aslan <sc...@gmail.com>
---
 .../nifi-registry-web-ui/src/main/webapp/nf-registry-bootstrap.js       | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/nifi-registry-core/nifi-registry-web-ui/src/main/webapp/nf-registry-bootstrap.js b/nifi-registry-core/nifi-registry-web-ui/src/main/webapp/nf-registry-bootstrap.js
index 1825858..4ad63a8 100644
--- a/nifi-registry-core/nifi-registry-web-ui/src/main/webapp/nf-registry-bootstrap.js
+++ b/nifi-registry-core/nifi-registry-web-ui/src/main/webapp/nf-registry-bootstrap.js
@@ -43,7 +43,7 @@ const locale = navigator.language.toLowerCase();
 const providers = [];
 
 // No locale or U.S. English: no translation providers so go ahead and bootstrap the app
-if (!locale || locale === 'en-US') {
+if (!locale || locale === 'en-us') {
     bootstrapModule();
 } else { //load the translation providers and bootstrap the module
     var translationFile = 'locale/messages.' + locale + '.xlf';