mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
[fix, i18n] plugins/goodreads.koplugin: make untranslated string translatable (#3751)
Fixes #3748.
This commit is contained in:
@@ -76,11 +76,15 @@ function Goodreads:updateSettings()
|
||||
local text_top
|
||||
local hint_bottom
|
||||
local text_bottom
|
||||
local text_info = "How to generate a key and a secret key:\n"..
|
||||
"1. Go to https://www.goodreads.com/user/sign_up and create an account\n" ..
|
||||
"2. Register for a development key on the following page: https://www.goodreads.com/user/sign_in?rd=true\n" ..
|
||||
"3. Your key and secret key will now be available on https://www.goodreads.com/api/keys\n" ..
|
||||
"4. Enter your generated key and your secret key in the settings dialog (Login to Goodreads window)"
|
||||
local text_info = _([[
|
||||
How to generate a key and a secret key:
|
||||
|
||||
1. Go to https://www.goodreads.com/user/sign_up and create an account
|
||||
2. Register for a development key on the following page: https://www.goodreads.com/user/sign_in?rd=true
|
||||
3. Your key and secret key will now be available on https://www.goodreads.com/api/key
|
||||
4. Enter your generated key and your secret key in the settings dialog (Login to Goodreads window)
|
||||
]])
|
||||
|
||||
if self.goodreads_key == "" then
|
||||
hint_top = _("Goodreads key left empty")
|
||||
text_top = ""
|
||||
|
||||
Reference in New Issue
Block a user