@tiagojct/subsub 0.11.4 → 0.12.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/web/i18n.js CHANGED
@@ -53,6 +53,7 @@ export const STRINGS = {
53
53
  rec_tested: "tested default",
54
54
  rec_cheaper: "tested, cheaper",
55
55
  rec_free: "tested, free",
56
+ rec_eu: "tested, EU",
56
57
  needsKey: "needs a key from {x}",
57
58
  noModels: "No models yet. Connect a provider below.",
58
59
  connectProvider: "Connect a provider",
@@ -68,6 +69,18 @@ export const STRINGS = {
68
69
  trouble_blocked: "The model provider stopped the reply (for example, because it repeated a source word for word). Ask again in other words, or choose another model.",
69
70
  trouble_key: "The model provider did not accept the API key. Enter it again with the model button.",
70
71
  details: "Details",
72
+ undo: "Undo",
73
+ where_eu: "Where your data goes: servers in the European Union. Covered by the GDPR, the choice for material you would not send outside the EU.",
74
+ where_us: "Where your data goes: servers outside the EU, mostly in the United States, under the provider's terms for the EU. Read them before you send unpublished or sensitive material.",
75
+ where_cn: "Where your data goes: servers in China. Do not send unpublished or sensitive material.",
76
+ where_varies: "Where your data goes: it depends on the model. Each model runs at another company, in the United States, China or elsewhere. For material you would not send outside the EU, choose Mistral.",
77
+ setupTitle: "Before you start",
78
+ stepZotero: "Zotero is open and lets Sub-Sub in. If not: start Zotero, then in Settings > Advanced turn on \"Allow other applications on this computer to communicate with Zotero\".",
79
+ stepModel: "A model is connected. If not: select Connect and paste an API key. To try Sub-Sub for free, choose Google Gemini and get a free key there.",
80
+ stepServers: "The Zotero servers are running. If not ({x}): close Sub-Sub, open a terminal and type subsub doctor. Each line marked FIX says what to do.",
81
+ stepDone: "done",
82
+ stepTodo: "to do",
83
+ undoTitle: "Undo this change. Sub-Sub shows what it would restore before it changes anything.",
71
84
  oauthNote: "To sign in through a provider's website (for example with a subscription), open a terminal, type subsub, then /login.",
72
85
  saving: "Saving",
73
86
  saved: "Saved.",
@@ -164,6 +177,7 @@ export const STRINGS = {
164
177
  rec_tested: "testado, por omissão",
165
178
  rec_cheaper: "testado, mais barato",
166
179
  rec_free: "testado, gratuito",
180
+ rec_eu: "testado, UE",
167
181
  needsKey: "precisa de uma chave de {x}",
168
182
  noModels: "Ainda não há modelos. Ligue um fornecedor abaixo.",
169
183
  connectProvider: "Ligar um fornecedor",
@@ -179,6 +193,18 @@ export const STRINGS = {
179
193
  trouble_blocked: "O fornecedor do modelo interrompeu a resposta (por exemplo, por repetir uma fonte palavra por palavra). Peça outra vez por outras palavras ou escolha outro modelo.",
180
194
  trouble_key: "O fornecedor do modelo não aceitou a chave da API. Volte a introduzi-la no botão do modelo.",
181
195
  details: "Detalhes",
196
+ undo: "Anular",
197
+ where_eu: "Para onde vão os seus dados: servidores na União Europeia. Abrangidos pelo RGPD; a escolha para material que não enviaria para fora da UE.",
198
+ where_us: "Para onde vão os seus dados: servidores fora da UE, sobretudo nos Estados Unidos, com os termos do fornecedor para a UE. Leia-os antes de enviar material inédito ou sensível.",
199
+ where_cn: "Para onde vão os seus dados: servidores na China. Não envie material inédito ou sensível.",
200
+ where_varies: "Para onde vão os seus dados: depende do modelo. Cada modelo funciona noutra empresa, nos Estados Unidos, na China ou noutro país. Para material que não enviaria para fora da UE, escolha a Mistral.",
201
+ setupTitle: "Antes de começar",
202
+ stepZotero: "O Zotero está aberto e deixa o Sub-Sub entrar. Se não: abra o Zotero e, em Definições > Avançado, ative \"Allow other applications on this computer to communicate with Zotero\".",
203
+ stepModel: "Há um modelo ligado. Se não: selecione Ligar e cole uma chave de API. Para experimentar sem pagar, escolha Google Gemini e obtenha lá uma chave gratuita.",
204
+ stepServers: "Os servidores do Zotero estão a funcionar. Se não ({x}): feche o Sub-Sub, abra um terminal e escreva subsub doctor. Cada linha marcada FIX diz o que fazer.",
205
+ stepDone: "feito",
206
+ stepTodo: "por fazer",
207
+ undoTitle: "Anular esta alteração. O Sub-Sub mostra o que repõe antes de alterar alguma coisa.",
182
208
  oauthNote: "Para entrar através do site de um fornecedor (por exemplo, com uma subscrição), abra um terminal, escreva subsub e depois /login.",
183
209
  saving: "A guardar",
184
210
  saved: "Guardado.",
package/web/index.html CHANGED
@@ -122,6 +122,7 @@
122
122
  <input type="password" id="login-key" autocomplete="off" spellcheck="false" required>
123
123
  </label>
124
124
  <p class="small"><a id="login-link" href="#" target="_blank" rel="noopener noreferrer" data-i18n="getKey">Get a key</a></p>
125
+ <p class="small muted" id="login-where"></p>
125
126
  <p class="small free-note" id="login-free" hidden></p>
126
127
  <p class="small muted" data-i18n="keyNote"></p>
127
128
  <div class="modal-buttons"><button type="submit" class="primary" id="login-save" data-i18n="save">Save</button></div>