Method: WebTranslateIt::Configuration#source_locale_from_project
- Defined in:
- lib/web_translate_it/configuration.rb
#source_locale_from_project(project) ⇒ Object
Returns the source locale from the Project API.
53 54 55 |
# File 'lib/web_translate_it/configuration.rb', line 53 def source_locale_from_project(project) project['source_locale']['code'] end |