Code

Opened 8 years ago

Closed 8 years ago

#2310 closed enhancement (fixed)

Use LANGUAGE_CODE for get_language in trans_null.py

Reported by: Djordjevic Nebojsa <nesh at studioquattro co yu> Owned by: hugo
Component: Internationalization Version: master
Severity: minor Keywords:
Cc: nesh@… Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

Description

Currently we are using get_language = lambda: 'en'. IMHO it is better to use get_language = lambda: settings.LANGUAGE_CODE

Attachments (0)

Change History (1)

comment:1 Changed 8 years ago by adrian

  • Resolution set to fixed
  • Status changed from new to closed

(In [3298]) Fixed #2310 -- Changed trans_null.py to use settings.LANGUAGE_CODE instead of hard-coded 'en'

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.