mirror of
https://github.com/nomic-ai/gpt4all.git
synced 2025-09-18 00:38:01 +00:00
settings: use enums for ChatTheme/FontSize, translate choices (#2667)
Also change SuggestionMode to work the same way. Signed-off-by: Adam Treat <treat.adam@gmail.com> Signed-off-by: Jared Van Bortel <jared@nomic.ai> Co-authored-by: Jared Van Bortel <jared@nomic.ai>
This commit is contained in:
@@ -485,6 +485,24 @@
|
||||
<source>The size of text in the application.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qml/ApplicationSettings.qml" line="144"/>
|
||||
<location filename="../../build_gpt4all-chat_Desktop_Qt_6_7_2/gpt4all/qml/ApplicationSettings.qml" line="144"/>
|
||||
<source>Small</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qml/ApplicationSettings.qml" line="144"/>
|
||||
<location filename="../../build_gpt4all-chat_Desktop_Qt_6_7_2/gpt4all/qml/ApplicationSettings.qml" line="144"/>
|
||||
<source>Medium</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qml/ApplicationSettings.qml" line="144"/>
|
||||
<location filename="../../build_gpt4all-chat_Desktop_Qt_6_7_2/gpt4all/qml/ApplicationSettings.qml" line="144"/>
|
||||
<source>Large</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qml/ApplicationSettings.qml" line="166"/>
|
||||
<location filename="../../build_gpt4all-chat_Desktop_Qt_6_7_2/gpt4all/qml/ApplicationSettings.qml" line="166"/>
|
||||
@@ -1653,47 +1671,47 @@ model to get started</source>
|
||||
<context>
|
||||
<name>ModelList</name>
|
||||
<message>
|
||||
<location filename="../modellist.cpp" line="1537"/>
|
||||
<location filename="../modellist.cpp" line="1548"/>
|
||||
<source><ul><li>Requires personal OpenAI API key.</li><li>WARNING: Will send your chats to OpenAI!</li><li>Your API key will be stored on disk</li><li>Will only be used to communicate with OpenAI</li><li>You can apply for an API key <a href="https://platform.openai.com/account/api-keys">here.</a></li></source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../modellist.cpp" line="1556"/>
|
||||
<location filename="../modellist.cpp" line="1567"/>
|
||||
<source><strong>OpenAI's ChatGPT model GPT-3.5 Turbo</strong><br> %1</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../modellist.cpp" line="1584"/>
|
||||
<location filename="../modellist.cpp" line="1595"/>
|
||||
<source><strong>OpenAI's ChatGPT model GPT-4</strong><br> %1 %2</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../modellist.cpp" line="1615"/>
|
||||
<location filename="../modellist.cpp" line="1626"/>
|
||||
<source><strong>Mistral Tiny model</strong><br> %1</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../modellist.cpp" line="1640"/>
|
||||
<location filename="../modellist.cpp" line="1651"/>
|
||||
<source><strong>Mistral Small model</strong><br> %1</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../modellist.cpp" line="1666"/>
|
||||
<location filename="../modellist.cpp" line="1677"/>
|
||||
<source><strong>Mistral Medium model</strong><br> %1</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../modellist.cpp" line="1569"/>
|
||||
<location filename="../modellist.cpp" line="1580"/>
|
||||
<source><br><br><i>* Even if you pay OpenAI for ChatGPT-4 this does not guarantee API key access. Contact OpenAI for more info.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../modellist.cpp" line="1596"/>
|
||||
<location filename="../modellist.cpp" line="1607"/>
|
||||
<source><ul><li>Requires personal Mistral API key.</li><li>WARNING: Will send your chats to Mistral!</li><li>Your API key will be stored on disk</li><li>Will only be used to communicate with Mistral</li><li>You can apply for an API key <a href="https://console.mistral.ai/user/api-keys">here</a>.</li></source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../modellist.cpp" line="2081"/>
|
||||
<location filename="../modellist.cpp" line="2092"/>
|
||||
<source><strong>Created by %1.</strong><br><ul><li>Published on %2.<li>This model has %3 likes.<li>This model has %4 downloads.<li>More info can be found <a href="https://huggingface.co/%5">here.</a></ul></source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
@@ -2345,6 +2363,14 @@ NOTE: By turning on this feature, you will be sending your data to the GPT4All O
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>QObject</name>
|
||||
<message>
|
||||
<location filename="../mysettings.cpp" line="119"/>
|
||||
<source>Default</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>SettingsView</name>
|
||||
<message>
|
||||
|
@@ -538,6 +538,24 @@
|
||||
reinstall.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qml/ApplicationSettings.qml" line="144"/>
|
||||
<location filename="../../build_gpt4all-chat_Desktop_Qt_6_7_2/gpt4all/qml/ApplicationSettings.qml" line="144"/>
|
||||
<source>Small</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qml/ApplicationSettings.qml" line="144"/>
|
||||
<location filename="../../build_gpt4all-chat_Desktop_Qt_6_7_2/gpt4all/qml/ApplicationSettings.qml" line="144"/>
|
||||
<source>Medium</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qml/ApplicationSettings.qml" line="144"/>
|
||||
<location filename="../../build_gpt4all-chat_Desktop_Qt_6_7_2/gpt4all/qml/ApplicationSettings.qml" line="144"/>
|
||||
<source>Large</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qml/ApplicationSettings.qml" line="166"/>
|
||||
<location filename="../../build_gpt4all-chat_Desktop_Qt_6_7_2/gpt4all/qml/ApplicationSettings.qml" line="166"/>
|
||||
@@ -1830,47 +1848,47 @@ model to get started</source>
|
||||
OpenAI</strong><br> %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../modellist.cpp" line="1537"/>
|
||||
<location filename="../modellist.cpp" line="1548"/>
|
||||
<source><ul><li>Requires personal OpenAI API key.</li><li>WARNING: Will send your chats to OpenAI!</li><li>Your API key will be stored on disk</li><li>Will only be used to communicate with OpenAI</li><li>You can apply for an API key <a href="https://platform.openai.com/account/api-keys">here.</a></li></source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../modellist.cpp" line="1556"/>
|
||||
<location filename="../modellist.cpp" line="1567"/>
|
||||
<source><strong>OpenAI's ChatGPT model GPT-3.5 Turbo</strong><br> %1</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../modellist.cpp" line="1569"/>
|
||||
<location filename="../modellist.cpp" line="1580"/>
|
||||
<source><br><br><i>* Even if you pay OpenAI for ChatGPT-4 this does not guarantee API key access. Contact OpenAI for more info.</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../modellist.cpp" line="1584"/>
|
||||
<location filename="../modellist.cpp" line="1595"/>
|
||||
<source><strong>OpenAI's ChatGPT model GPT-4</strong><br> %1 %2</source>
|
||||
<translation><strong>Modelo ChatGPT GPT-4 de OpenAI</strong><br> %1 %2</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../modellist.cpp" line="1596"/>
|
||||
<location filename="../modellist.cpp" line="1607"/>
|
||||
<source><ul><li>Requires personal Mistral API key.</li><li>WARNING: Will send your chats to Mistral!</li><li>Your API key will be stored on disk</li><li>Will only be used to communicate with Mistral</li><li>You can apply for an API key <a href="https://console.mistral.ai/user/api-keys">here</a>.</li></source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../modellist.cpp" line="1615"/>
|
||||
<location filename="../modellist.cpp" line="1626"/>
|
||||
<source><strong>Mistral Tiny model</strong><br> %1</source>
|
||||
<translation><strong>Modelo Mistral Tiny</strong><br> %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../modellist.cpp" line="1640"/>
|
||||
<location filename="../modellist.cpp" line="1651"/>
|
||||
<source><strong>Mistral Small model</strong><br> %1</source>
|
||||
<translation><strong>Modelo Mistral Small</strong><br> %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../modellist.cpp" line="1666"/>
|
||||
<location filename="../modellist.cpp" line="1677"/>
|
||||
<source><strong>Mistral Medium model</strong><br> %1</source>
|
||||
<translation><strong>Modelo Mistral Medium</strong><br> %1</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../modellist.cpp" line="2081"/>
|
||||
<location filename="../modellist.cpp" line="2092"/>
|
||||
<source><strong>Created by %1.</strong><br><ul><li>Published on %2.<li>This model has %3 likes.<li>This model has %4 downloads.<li>More info can be found <a href="https://huggingface.co/%5">here.</a></ul></source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
@@ -2657,6 +2675,14 @@ NOTE: By turning on this feature, you will be sending your data to the GPT4All O
|
||||
<translation>Se muestra cuando la ventana emergente está ocupada</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>QObject</name>
|
||||
<message>
|
||||
<location filename="../mysettings.cpp" line="119"/>
|
||||
<source>Default</source>
|
||||
<translation type="unfinished">Predeterminado</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>SettingsView</name>
|
||||
<message>
|
||||
|
@@ -528,6 +528,24 @@
|
||||
<source>The size of text in the application.</source>
|
||||
<translation>应用中的文本大小。</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qml/ApplicationSettings.qml" line="144"/>
|
||||
<location filename="../../build_gpt4all-chat_Desktop_Qt_6_7_2/gpt4all/qml/ApplicationSettings.qml" line="144"/>
|
||||
<source>Small</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qml/ApplicationSettings.qml" line="144"/>
|
||||
<location filename="../../build_gpt4all-chat_Desktop_Qt_6_7_2/gpt4all/qml/ApplicationSettings.qml" line="144"/>
|
||||
<source>Medium</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qml/ApplicationSettings.qml" line="144"/>
|
||||
<location filename="../../build_gpt4all-chat_Desktop_Qt_6_7_2/gpt4all/qml/ApplicationSettings.qml" line="144"/>
|
||||
<source>Large</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../qml/ApplicationSettings.qml" line="166"/>
|
||||
<location filename="../../build_gpt4all-chat_Desktop_Qt_6_7_2/gpt4all/qml/ApplicationSettings.qml" line="166"/>
|
||||
@@ -1744,32 +1762,32 @@ model to get started</source>
|
||||
<context>
|
||||
<name>ModelList</name>
|
||||
<message>
|
||||
<location filename="../modellist.cpp" line="1537"/>
|
||||
<location filename="../modellist.cpp" line="1548"/>
|
||||
<source><ul><li>Requires personal OpenAI API key.</li><li>WARNING: Will send your chats to OpenAI!</li><li>Your API key will be stored on disk</li><li>Will only be used to communicate with OpenAI</li><li>You can apply for an API key <a href="https://platform.openai.com/account/api-keys">here.</a></li></source>
|
||||
<translation><ul><li>需要个人 OpenAI API 密钥。</li><li>警告:将把您的聊天内容发送给 OpenAI!</li><li>您的 API 密钥将存储在磁盘上</li><li>仅用于与 OpenAI 通信</li><li>您可以在此处<a href="https://platform.openai.com/account/api-keys">申请 API 密钥。</a></li></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../modellist.cpp" line="1556"/>
|
||||
<location filename="../modellist.cpp" line="1567"/>
|
||||
<source><strong>OpenAI's ChatGPT model GPT-3.5 Turbo</strong><br> %1</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../modellist.cpp" line="1584"/>
|
||||
<location filename="../modellist.cpp" line="1595"/>
|
||||
<source><strong>OpenAI's ChatGPT model GPT-4</strong><br> %1 %2</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../modellist.cpp" line="1615"/>
|
||||
<location filename="../modellist.cpp" line="1626"/>
|
||||
<source><strong>Mistral Tiny model</strong><br> %1</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../modellist.cpp" line="1640"/>
|
||||
<location filename="../modellist.cpp" line="1651"/>
|
||||
<source><strong>Mistral Small model</strong><br> %1</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../modellist.cpp" line="1666"/>
|
||||
<location filename="../modellist.cpp" line="1677"/>
|
||||
<source><strong>Mistral Medium model</strong><br> %1</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
@@ -1778,7 +1796,7 @@ model to get started</source>
|
||||
<translation type="vanished"><strong>OpenAI's ChatGPT model GPT-3.5 Turbo</strong><br></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../modellist.cpp" line="1569"/>
|
||||
<location filename="../modellist.cpp" line="1580"/>
|
||||
<source><br><br><i>* Even if you pay OpenAI for ChatGPT-4 this does not guarantee API key access. Contact OpenAI for more info.</source>
|
||||
<translation><br><br><i>* 即使您为ChatGPT-4向OpenAI付款,这也不能保证API密钥访问。联系OpenAI获取更多信息。</translation>
|
||||
</message>
|
||||
@@ -1787,7 +1805,7 @@ model to get started</source>
|
||||
<translation type="vanished"><strong>OpenAI's ChatGPT model GPT-4</strong><br></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../modellist.cpp" line="1596"/>
|
||||
<location filename="../modellist.cpp" line="1607"/>
|
||||
<source><ul><li>Requires personal Mistral API key.</li><li>WARNING: Will send your chats to Mistral!</li><li>Your API key will be stored on disk</li><li>Will only be used to communicate with Mistral</li><li>You can apply for an API key <a href="https://console.mistral.ai/user/api-keys">here</a>.</li></source>
|
||||
<translation><ul><li>Requires personal Mistral API key.</li><li>WARNING: Will send your chats to Mistral!</li><li>Your API key will be stored on disk</li><li>Will only be used to communicate with Mistral</li><li>You can apply for an API key <a href="https://console.mistral.ai/user/api-keys">here</a>.</li></translation>
|
||||
</message>
|
||||
@@ -1804,7 +1822,7 @@ model to get started</source>
|
||||
<translation type="vanished"><strong>Mistral Medium model</strong><br></translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../modellist.cpp" line="2081"/>
|
||||
<location filename="../modellist.cpp" line="2092"/>
|
||||
<source><strong>Created by %1.</strong><br><ul><li>Published on %2.<li>This model has %3 likes.<li>This model has %4 downloads.<li>More info can be found <a href="https://huggingface.co/%5">here.</a></ul></source>
|
||||
<translation><strong>Created by %1.</strong><br><ul><li>Published on %2.<li>This model has %3 likes.<li>This model has %4 downloads.<li>More info can be found <a href="https://huggingface.co/%5">here.</a></ul></translation>
|
||||
</message>
|
||||
@@ -2492,6 +2510,14 @@ NOTE: By turning on this feature, you will be sending your data to the GPT4All O
|
||||
<translation>在弹出窗口显示忙碌时显示</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>QObject</name>
|
||||
<message>
|
||||
<location filename="../mysettings.cpp" line="119"/>
|
||||
<source>Default</source>
|
||||
<translation type="unfinished">默认</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>SettingsView</name>
|
||||
<message>
|
||||
|
Reference in New Issue
Block a user