[logaling-commit] logaling/logaling-command [loga-new-no-project] Show message after create personal glossary

Back to archive index

SUZUKI Miho null+****@clear*****
Mon Aug 13 12:53:05 JST 2012


SUZUKI Miho	2012-08-13 12:53:05 +0900 (Mon, 13 Aug 2012)

  New Revision: ecd12de0265c98273f6e1c34cd26511fea9b9237
  https://github.com/logaling/logaling-command/commit/ecd12de0265c98273f6e1c34cd26511fea9b9237

  Log:
    Show message after create personal glossary

  Modified files:
    lib/logaling/command/application.rb

  Modified: lib/logaling/command/application.rb (+2 -1)
===================================================================
--- lib/logaling/command/application.rb    2012-08-13 12:34:08 +0900 (533e40a)
+++ lib/logaling/command/application.rb    2012-08-13 12:53:05 +0900 (b88d8d3)
@@ -86,7 +86,8 @@ module Logaling::Command
         end
       else
         raise Logaling::CommandFailed, "[TARGET-LANGUAGE] is required when you use '--personal'" unless target_language
-        @repository.create_personal_glossary(project_name, source_language, target_language)
+        personal_glossary =****@repos*****_personal_glossary(project_name, source_language, target_language)
+        say "Successfully created #{personal_glossary.path}"
       end
     rescue Logaling::CommandFailed => e
       say e.message
-------------- next part --------------
An HTML attachment was scrubbed...
Download 



More information about the logaling-commit mailing list
Back to archive index