Skip to content

Commit

Permalink
bugfix
Browse files Browse the repository at this point in the history
property preferredLanguage returns wrong value
  • Loading branch information
Decybel07 authored May 23, 2017
1 parent 1f618c8 commit a882c7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/L10n.swift
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ public class L10n {

/// A preferred language contained in the main bundle.
public static var preferredLanguage: String {
return self.supportedLanguages.first ?? "UNDEFINED"
return self.preferredLanguages.first ?? "UNDEFINED"
}

/// An ordered list of preferred languages contained in the main bundle.
Expand Down

0 comments on commit a882c7c

Please sign in to comment.