diff --git a/TRANSLATING.md b/TRANSLATING.md index 65515479d..bc25e3688 100644 --- a/TRANSLATING.md +++ b/TRANSLATING.md @@ -59,7 +59,7 @@ If there is no project for your language, you can start your own translation. Base your work on the second edition of the book, available [here](https://github.com/progit/progit2). To do so: 1. Pick the correct [ISO 639 code](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) for your language. 1. Create a [GitHub organization](https://docs.github.com/en/github/setting-up-and-managing-organizations-and-teams/creating-a-new-organization-from-scratch), for example: `progit2-[your code]` on GitHub. - 1. Create a project "`progit2"`. + 1. Create a project `progit2`. 1. Copy the structure of progit/progit2 (this project) in your project and start translating. ### Updating the status of your translation diff --git a/book/07-git-tools/git-credential-read-only b/book/07-git-tools/git-credential-read-only index 0e9147597..b98833c4e 100755 --- a/book/07-git-tools/git-credential-read-only +++ b/book/07-git-tools/git-credential-read-only @@ -15,7 +15,7 @@ exit(0) unless File.exists? path known = {} # <3> while line = STDIN.gets - break if line.strip == `" + break if line.strip == '' k,v = line.strip.split '=', 2 known[k] = v end