Class: IosStringsUpdater
Instance Method Summary
collapse
#end_document, #get_document_id, #push_project, #read_settings, #working_dictionary
Instance Method Details
10
11
12
|
# File 'lib/ios_strings_updater.rb', line 10
def ()
@document += "\n// #{}\n\n"
end
|
#add_translation(key, to) ⇒ Object
6
7
8
|
# File 'lib/ios_strings_updater.rb', line 6
def add_translation(key, to)
@document += "\"#{key}\" = \"#{to};\n"
end
|
#begin_document ⇒ Object
2
3
4
|
# File 'lib/ios_strings_updater.rb', line 2
def begin_document
@document = "\nFile generated by Strings Updater v0.1\nMore info: https://github.com/artur-gurgul/strings_updater\n\n\n"
end
|