Class: Translatomatic::ResourceFile::XCodeStrings

Inherits:
Base
  • Object
show all
Defined in:
lib/translatomatic/resource_file/xcode_strings.rb

Overview

XCode strings resource file

Instance Attribute Summary

Attributes inherited from Base

#locale, #options, #path

Class Method Summary collapse

Methods inherited from Base

#create_variable, enabled?, #get, #get_context, #initialize, key_value?, #locale_path, preferred_locale_separator, #properties, #properties=, #save, #sentences, #set, supports_variable_interpolation?, #to_s, #type, #variable_regex

Methods included from PathUtils

#detect_path_locale, #modify_path_locale

Constructor Details

This class inherits a constructor from Translatomatic::ResourceFile::Base

Class Method Details

.extensionsArray<String>

Returns File extensions supported by this resource file.

Returns:

  • (Array<String>)

    File extensions supported by this resource file



11
12
13
# File 'lib/translatomatic/resource_file/xcode_strings.rb', line 11

def self.extensions
  %w[strings]
end