Skip to content

Commit

Permalink
Merge pull request #1275 from wger-project/feature/language-country-code
Browse files Browse the repository at this point in the history
Add support for language country code
  • Loading branch information
rolandgeider authored Mar 15, 2023
2 parents 3686d48 + 50ccbf1 commit 742e8b9
Show file tree
Hide file tree
Showing 42 changed files with 247 additions and 57 deletions.
2 changes: 1 addition & 1 deletion wger/core/models/language.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,4 +70,4 @@ def get_owner_object(self):

@property
def static_path(self):
return f'images/icons/flag-{self.short_name}.svg'
return f'images/icons/flags/{self.short_name}.svg'
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
24 changes: 24 additions & 0 deletions wger/core/static/images/icons/flags/en-au.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
26 changes: 26 additions & 0 deletions wger/core/static/images/icons/flags/en.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
34 changes: 34 additions & 0 deletions wger/core/static/images/icons/flags/es-ar.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions wger/core/static/images/icons/flags/es-co.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions wger/core/static/images/icons/flags/es-mx.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions wger/core/static/images/icons/flags/es-ni.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
29 changes: 29 additions & 0 deletions wger/core/static/images/icons/flags/es-ve.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
Loading

0 comments on commit 742e8b9

Please sign in to comment.