Displaying 1 result from an estimated 1 matches for "staplingtitle".
2006 Jul 21
1
Newbie Question about Ruby on rails---cant upload data
...to the world"
To parse it, I have done this in a regular ruby class (and it works!):
class Parser
table = { }
IO.foreach(''Localizable.strings'') { |line|
if line =~ /^ \s* " (.*?) " \s* = \s* " (.*?) "/x
table[ $1 ] = $2
end
}
#puts table["StaplingTitle"]
p table
end
I have my view app. in views:
<h1>Importing Strings<h1>
<%= start_form_tag({:action => ''create''}, :multipart => true)%>
<p>
<b>Lenguage:</b><br/>
<%= select("variable", nil, @arr...