• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags

Frequently used words (click to add to your profile)

javaandroidc++linuxc#objective-ccocoa誰得qtrubypythongamewindowsbathyscaphephpguic翻訳omegattwitterframeworktestbtronarduinovb.net計画中(planning stage)directxpreviewerゲームエンジンdom

Commit MetaInfo

Revisão78e39968b7d15cfe3d135ca5682b89c4429b3e97 (tree)
Hora2009-10-22 23:10:19
Autorsoutaro <soutaro@f836...>
Commitersoutaro

Mensagem de Log

Removed syntax error in 1.9

when aaa: bbb can not be written in 1.9

git-svn-id: http://dev.ikejima.org/src/svn/pragger/trunk@422 f8368ae4-1e99-dc11-9799-0018f35ab5fa

Mudança Sumário

Diff

--- a/plugin/Filter/Translations/yahoo.rb
+++ b/plugin/Filter/Translations/yahoo.rb
@@ -11,12 +11,18 @@ def yahoo(config, data)
1111 config = (config || { "translation" => "en=>ja" })
1212
1313 trans = case config["translation"]
14- when "en=>ja": "EJ"
15- when "kr=>ja": "KJ"
16- when "cn=>ja": "CJ"
17- when "ja=>en": "JE"
18- when "ja=>kr": "JK"
19- when "ja=>cn": "JC"
14+ when "en=>ja"
15+ "EJ"
16+ when "kr=>ja"
17+ "KJ"
18+ when "cn=>ja"
19+ "CJ"
20+ when "ja=>en"
21+ "JE"
22+ when "ja=>kr"
23+ "JK"
24+ when "ja=>cn"
25+ "JC"
2026 else
2127 return data
2228 end