Skip to content
This repository was archived by the owner on Jan 29, 2024. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion lib/i18n_yaml_editor/app.rb
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ def start
store.create_missing_keys

$stdout.puts " * Starting web editor at port 5050"
Rack::Utils.key_space_limit = 131072 # 2 times the default
Rack::Server.start :app => Web, :Port => 5050
end

Expand All @@ -39,7 +40,7 @@ def load_translations
def save_translations
files = store.to_yaml
files.each {|file, yaml|
File.open(file, "w", encoding: "utf-8") {|f| f << yaml.to_yaml}
File.open(file, "w", encoding: "utf-8") {|f| f << yaml.to_yaml({:line_width => -1})}
}
end
end
Expand Down