fix: fallback for languages without a native name
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
This commit is contained in:
		@@ -86,6 +86,10 @@ struct Language
 | 
			
		||||
        else {
 | 
			
		||||
            result = locale.nativeLanguageName();
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        if (result.isEmpty()) {
 | 
			
		||||
            result = key;
 | 
			
		||||
        }
 | 
			
		||||
        return result;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user