config/locales/en.yml in codebreaker_vk-0.3.1 vs config/locales/en.yml in codebreaker_vk-1.0.1

- old
+ new

@@ -1,41 +1,38 @@ en: - goodbye: 'Goodbye' - console: - greeting: "Hello, lets play the 'Codebreaker' game" - choose_the_command: "Choose the command\n - -Enter %{rules} if you want to see rules of the game\n - -Enter %{stats} if you want to see the statistics of users results\n - -Enter %{start} if you want to start the game\n - -Enter %{exit} if you want to quite the game\n" - what_name: "What is your name?\nName must be from 3 to 20 characters" - showed_hint: 'Code contains this number: %{showed}' - zero_hints: "You don't have any hints" - result: 'Your result is %{result}' - make_guess: "Make your guess\nYou need to enter four numbers between 1 and 6 " - enter_hint: "Or enter 'hint' to open one digit from code" - left_attempts_and_hints: "You have %{attempts} attempts and %{hints} hints" - win: "You win\n-Enter %{yes} if you want to save your progress" - lose: 'Game over, you lose if you want you can start a new game' - empty_db: 'You are the first one' - select_difficulty: 'Select difficulty: %{difficulties}' - stats_user_info: "%{position}) Name: %{name} difficulty: %{level}\n" - stats_lefts: "Attempts: %{all_attempts}/%{attempts} Hints: %{all_hints}/%{hints}" - rules: "Game Rules\n - • Codebreaker is a logic game in which a code-breaker tries to break a secret code created by a code-maker. The codemaker, which will be played by the codebreaker_vk we’re going to write, creates a secret code of four numbers between 1 and 6.\n - • The codebreaker gets some number of chances to break the code (depends on chosen difficulty). In each turn, the codebreaker makes a guess of 4 numbers. The codemaker then marks the guess with up to 4 signs - + or - or empty spaces.\n - • A + indicates an exact match - one of the numbers in the guess is the same as one of the numbers in the secret code and in the same position. For example\n - Secret number - 1234\n - Input number - 6264\n - Number of pluses - 2 (second and fourth position)\n - • A - indicates a number match - one of the numbers in the guess is the same as one of the numbers in the secret code but in a different position. For example\n - Secret number - 1234\n - Input number - 6462\n - Number of minuses - 2 (second and fourth position)\n - • An empty space indicates that there is not a current digit in a secret number.\n - • If codebreaker inputs the exact number as a secret number - codebreaker wins the game. If all attempts are spent - codebreaker loses.\n - • Codebreaker also has some number of hints(depends on chosen difficulty). If a user takes a hint - he receives back a separate digit of the secret code.\n" - error: "Unexpected input, it was '%{error}', try one more time" - invalid: - cover_error: 'Improper size' - include_error: 'Not include in propose inputs' - size_error: 'Invalid size' + greeting: "Welcome to codebreaker!\n" + goodbye: "Goodbye!\n" + rules: "GAME RULES\n + # Codebreaker is a logic game in which a code-breaker tries to break a secret code created by a code-maker. The\n codemaker, which will be played by the application we’re going to write, creates a secret code of four numbers between\n 1 and 6.\n + # The codebreaker gets some number of chances to break the code (depends on chosen difficulty). In each turn, the\n codebreaker makes a guess of 4 numbers. The codemaker then marks the guess with up to 4 signs - + or - or empty\n spaces.\n + # A + indicates an exact match: one of the numbers in the guess is the same as one of the numbers in the secret code\n and in the same position. For example:\n + Secret number - 1234\n + Input number - 6264\n + Number of pluses - 2 (second and fourth position)\n + # A - indicates a number match: one of the numbers in the guess is the same as one of the numbers in the secret code\n but in a different position. For example:\n + Secret number - 1234\n + Input number - 6462\n + Number of minuses - 2 (second and fourth position)\n + # An empty space indicates that there is not a current digit in a secret number.\n + # If codebreaker inputs the exact number as a secret number - codebreaker wins the game. If all attempts are spent -\n codebreaker loses.\n + # Codebreaker also has some number of hints(depends on chosen difficulty). If a user takes a hint - he receives back a\n + separate digit of the secret code.\n" + menu: "Choose one of next scenarios: 'start', 'rules', 'stats', 'exit'" + choose_difficulty: "Choose difficulty: easy, medium, hell" + choose_name: "Choose your name" + win: "Congratulations! You win!" + lose: "Sorry, you lose. Maybe another time." + wrong_difficulty: "There is no such difficulty. Please choose one from listed" + wrong_input: "wrong input" + wrong_name: "Choosen name is invalid. Name must be between 3 and 20 characters.\nPlease choose another one" + wrong_process: "There is no such command or your number is invalid. You can try use hint or exit" + wrong_run: "You have passed unexpected command. Please choose one from listed commands" + easy: "easy" + medium: "medium" + hell: "hell" + no_hints: "You have no hints" + game_process: "%{attempts} attempts and %{hints} hints left. Guess a secret code" + secret: "The secret code was %{secret}" + save: "Print 'save' if you want to save your result: " + game_over: 'Game Over' + stats: "Player %{name} played with difficulty level %{difficulty} (%{attempts_total} attempts, %{hints_total} hints) and won with %{attempts_used} attempts and %{hints_used} hints used." + no_stats: "Sorry, you have not any saves yet."