Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: double “to” typo (“to to” -> “to”) #78

Merged
merged 2 commits into from
May 22, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/locales/ar.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,14 @@
"Enter the model you want to use": "أدخل النموذج الذي تريد استخدامه",
"Language": "لغة",
"Enter the language you want to use": "أدخل اللغة التي تريد استخدامها",
"What would you like me to to do?": "ماذا تريد مني أن أفعل؟",
"What would you like me to do?": "ماذا تريد مني أن أفعل؟",
"delete all log files": "حذف جميع ملفات السجلات",
"list js files": "قائمة ملفات js",
"fetch me a random joke": "جلب لي نكتة عشوائية",
"list all commits": "قائمة جميع الالتزامات",
"Say hello": "قل مرحبا",
"you can edit script here": "يمكنك تحرير النص هنا",
"What would you like me to to change in this script?": "ما الذي تريد تغييره في هذا النص؟",
"What would you like me to change in this script?": "ما الذي تريد تغييره في هذا النص؟",
"e.g.": "على سبيل المثال",
"e.g. change the folder name": "على سبيل المثال تغيير اسم المجلد",
"Your script": "نصك",
Expand Down
4 changes: 2 additions & 2 deletions src/locales/de.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,14 @@
"Enter the model you want to use": "Geben Sie das Modell ein, das Sie verwenden möchten",
"Language": "Sprache",
"Enter the language you want to use": "Geben Sie die Sprache ein, die Sie verwenden möchten",
"What would you like me to to do?": "Was möchten Sie, dass ich tue?",
"What would you like me to do?": "Was möchten Sie, dass ich tue?",
"delete all log files": "Löschen Sie alle Protokolldateien",
"list js files": "Liste js-Dateien auf",
"fetch me a random joke": "Holen Sie mir einen zufälligen Witz",
"list all commits": "Liste alle Commits auf",
"Say hello": "Sag Hallo",
"you can edit script here": "Sie können das Skript hier bearbeiten",
"What would you like me to to change in this script?": "Was möchten Sie in diesem Skript ändern?",
"What would you like me to change in this script?": "Was möchten Sie in diesem Skript ändern?",
"e.g.": "z.B.",
"e.g. change the folder name": "z.B. Ändern Sie den Ordnernamen",
"Your script": "Ihr Skript",
Expand Down
4 changes: 2 additions & 2 deletions src/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,14 @@
"Enter the model you want to use": "Enter the model you want to use",
"Language": "Language",
"Enter the language you want to use": "Enter the language you want to use",
"What would you like me to to do?": "What would you like me to to do?",
"What would you like me to do?": "What would you like me to do?",
"delete all log files": "delete all log files",
"list js files": "list js files",
"fetch me a random joke": "fetch me a random joke",
"list all commits": "list all commits",
"Say hello": "Say hello",
"you can edit script here": "you can edit script here",
"What would you like me to to change in this script?": "What would you like me to to change in this script?",
"What would you like me to change in this script?": "What would you like me to change in this script?",
"e.g.": "e.g.",
"e.g. change the folder name": "e.g. change the folder name",
"Your script": "Your script",
Expand Down
4 changes: 2 additions & 2 deletions src/locales/es.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,14 @@
"Enter the model you want to use": "Ingrese el modelo que desea utilizar",
"Language": "Idioma",
"Enter the language you want to use": "Ingrese el idioma que desea utilizar",
"What would you like me to to do?": "¿Qué te gustaría que hiciera?",
"What would you like me to do?": "¿Qué te gustaría que hiciera?",
"delete all log files": "eliminar todos los archivos de registro",
"list js files": "listar archivos js",
"fetch me a random joke": "traerme una broma aleatoria",
"list all commits": "listar todos los commits",
"Say hello": "Decir hola",
"you can edit script here": "puede editar el script aquí",
"What would you like me to to change in this script?": "¿Qué te gustaría cambiar en este script?",
"What would you like me to change in this script?": "¿Qué te gustaría cambiar en este script?",
"e.g.": "por ejemplo",
"e.g. change the folder name": "por ejemplo, cambie el nombre de la carpeta",
"Your script": "Tu script",
Expand Down
4 changes: 2 additions & 2 deletions src/locales/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,14 @@
"Enter the model you want to use": "Entrez le modèle que vous souhaitez utiliser",
"Language": "Langue",
"Enter the language you want to use": "Entrez la langue que vous souhaitez utiliser",
"What would you like me to to do?": "Que voulez-vous que je fasse?",
"What would you like me to do?": "Que voulez-vous que je fasse?",
"delete all log files": "supprimer tous les fichiers journaux",
"list js files": "liste des fichiers js",
"fetch me a random joke": "apporte-moi une blague aléatoire",
"list all commits": "liste de tous les engagements",
"Say hello": "Dire bonjour",
"you can edit script here": "vous pouvez éditer le script ici",
"What would you like me to to change in this script?": "Que voulez-vous que je change dans ce script?",
"What would you like me to change in this script?": "Que voulez-vous que je change dans ce script?",
"e.g.": "par exemple",
"e.g. change the folder name": "par exemple, changer le nom du dossier",
"Your script": "Votre script",
Expand Down
4 changes: 2 additions & 2 deletions src/locales/id.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,14 @@
"Enter the model you want to use": "Masukkan model yang ingin Anda gunakan",
"Language": "Bahasa",
"Enter the language you want to use": "Masukkan bahasa yang ingin Anda gunakan",
"What would you like me to to do?": "Apa yang ingin Anda saya lakukan?",
"What would you like me to do?": "Apa yang ingin Anda saya lakukan?",
"delete all log files": "hapus semua file log",
"list js files": "daftar file js",
"fetch me a random joke": "berikan saya lelucon acak",
"list all commits": "daftar semua komit",
"Say hello": "Katakan halo",
"you can edit script here": "Anda dapat mengedit skrip di sini",
"What would you like me to to change in this script?": "Apa yang ingin Anda saya ubah dalam skrip ini?",
"What would you like me to change in this script?": "Apa yang ingin Anda saya ubah dalam skrip ini?",
"e.g.": "contoh",
"e.g. change the folder name": "contoh: ubah nama folder",
"Your script": "Skrip Anda",
Expand Down
4 changes: 2 additions & 2 deletions src/locales/jp.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,14 @@
"Enter the model you want to use": "使用するモデルを入力してください",
"Language": "言語",
"Enter the language you want to use": "使用する言語を入力してください",
"What would you like me to to do?": "何をしてほしいですか?",
"What would you like me to do?": "何をしてほしいですか?",
"delete all log files": "すべてのログファイルを削除する",
"list js files": "jsファイルをリストアップする",
"fetch me a random joke": "ランダムなジョークを取得する",
"list all commits": "すべてのコミットをリストアップする",
"Say hello": "こんにちは",
"you can edit script here": "ここでスクリプトを編集できます",
"What would you like me to to change in this script?": "このスクリプトで何を変更したいですか?",
"What would you like me to change in this script?": "このスクリプトで何を変更したいですか?",
"e.g.": "例:",
"e.g. change the folder name": "例:フォルダ名を変更する",
"Your script": "あなたのスクリプト",
Expand Down
4 changes: 2 additions & 2 deletions src/locales/ko.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,14 @@
"Enter the model you want to use": "사용하려는 모델을 입력하세요.",
"Language": "언어",
"Enter the language you want to use": "사용하려는 언어를 입력하세요.",
"What would you like me to to do?": "무엇을 도와드릴까요?",
"What would you like me to do?": "무엇을 도와드릴까요?",
"delete all log files": "모든 로그 파일 삭제",
"list js files": "js 파일 목록",
"fetch me a random joke": "랜덤한 농담 가져오기",
"list all commits": "모든 커밋 목록",
"Say hello": "인사하기",
"you can edit script here": "여기서 스크립트를 편집할 수 있습니다.",
"What would you like me to to change in this script?": "이 스크립트에서 무엇을 변경하시겠습니까?",
"What would you like me to change in this script?": "이 스크립트에서 무엇을 변경하시겠습니까?",
"e.g.": "예시:",
"e.g. change the folder name": "예시: 폴더 이름 변경",
"Your script": "스크립트",
Expand Down
4 changes: 2 additions & 2 deletions src/locales/pt.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,14 @@
"Enter the model you want to use": "Insira o modelo que você deseja usar",
"Language": "Língua",
"Enter the language you want to use": "Insira a língua que você deseja usar",
"What would you like me to to do?": "O que você gostaria que eu fizesse?",
"What would you like me to do?": "O que você gostaria que eu fizesse?",
"delete all log files": "excluir todos os arquivos de log",
"list js files": "listar arquivos js",
"fetch me a random joke": "me traga uma piada aleatória",
"list all commits": "listar todos os commits",
"Say hello": "Diga olá",
"you can edit script here": "você pode editar o script aqui",
"What would you like me to to change in this script?": "O que você gostaria que eu mudasse neste script?",
"What would you like me to change in this script?": "O que você gostaria que eu mudasse neste script?",
"e.g.": "por exemplo",
"e.g. change the folder name": "por exemplo, mude o nome da pasta",
"Your script": "Seu script",
Expand Down
4 changes: 2 additions & 2 deletions src/locales/ru.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,14 @@
"Enter the model you want to use": "Введите модель, которую вы хотите использовать",
"Language": "Язык",
"Enter the language you want to use": "Введите язык, который вы хотите использовать",
"What would you like me to to do?": "Что бы вы хотели, чтобы я сделал?",
"What would you like me to do?": "Что бы вы хотели, чтобы я сделал?",
"delete all log files": "удалить все файлы журналов",
"list js files": "список js файлов",
"fetch me a random joke": "получить случайную шутку",
"list all commits": "список всех коммитов",
"Say hello": "Скажи привет",
"you can edit script here": "вы можете редактировать скрипт здесь",
"What would you like me to to change in this script?": "Что бы вы хотели изменить в этом скрипте?",
"What would you like me to change in this script?": "Что бы вы хотели изменить в этом скрипте?",
"e.g.": "например",
"e.g. change the folder name": "например, изменить имя папки",
"Your script": "Ваш скрипт",
Expand Down
4 changes: 2 additions & 2 deletions src/locales/uk.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,14 @@
"Enter the model you want to use": "Введіть модель, яку ви хочете використовувати",
"Language": "Мова",
"Enter the language you want to use": "Введіть мову, яку ви хочете використовувати",
"What would you like me to to do?": "Що ви хочете, щоб я зробив?",
"What would you like me to do?": "Що ви хочете, щоб я зробив?",
"delete all log files": "видалити всі файли журналу",
"list js files": "список js файлів",
"fetch me a random joke": "знайти випадковий жарт",
"list all commits": "список всіх комітів",
"Say hello": "Скажіть привіт",
"you can edit script here": "ви можете редагувати скрипт тут",
"What would you like me to to change in this script?": "Що ви хочете змінити в цьому скрипті?",
"What would you like me to change in this script?": "Що ви хочете змінити в цьому скрипті?",
"e.g.": "наприклад",
"e.g. change the folder name": "наприклад, змінити назву папки",
"Your script": "Ваш скрипт",
Expand Down
4 changes: 2 additions & 2 deletions src/locales/vi.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,14 @@
"Enter the model you want to use": "Nhập mô hình bạn muốn sử dụng",
"Language": "Ngôn ngữ",
"Enter the language you want to use": "Nhập ngôn ngữ bạn muốn sử dụng",
"What would you like me to to do?": "Bạn muốn tôi làm gì?",
"What would you like me to do?": "Bạn muốn tôi làm gì?",
"delete all log files": "xóa tất cả các tệp nhật ký",
"list js files": "liệt kê các tệp js",
"fetch me a random joke": "lấy cho tôi một câu chuyện cười ngẫu nhiên",
"list all commits": "liệt kê tất cả các commit",
"Say hello": "Nói xin chào",
"you can edit script here": "bạn có thể chỉnh sửa kịch bản ở đây",
"What would you like me to to change in this script?": "Bạn muốn tôi thay đổi gì trong kịch bản này?",
"What would you like me to change in this script?": "Bạn muốn tôi thay đổi gì trong kịch bản này?",
"e.g.": "ví dụ",
"e.g. change the folder name": "ví dụ thay đổi tên thư mục",
"Your script": "Kịch bản của bạn",
Expand Down
4 changes: 2 additions & 2 deletions src/locales/zh-Hans.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,14 @@
"Enter the model you want to use": "输入您想要使用的模型",
"Language": "语言",
"Enter the language you want to use": "输入您想要使用的语言",
"What would you like me to to do?": "您想让我做什么?",
"What would you like me to do?": "您想让我做什么?",
"delete all log files": "删除所有日志文件",
"list js files": "列出 js 文件",
"fetch me a random joke": "随便给我讲个笑话",
"list all commits": "列出所有提交",
"Say hello": "打个招呼",
"you can edit script here": "您可以在这里编辑脚本",
"What would you like me to to change in this script?": "您想让我在这个脚本中做什么修改?",
"What would you like me to change in this script?": "您想让我在这个脚本中做什么修改?",
"e.g.": "例如:",
"e.g. change the folder name": "例如:更改文件夹名称",
"Your script": "您的脚本",
Expand Down
4 changes: 2 additions & 2 deletions src/locales/zh-Hant.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,14 @@
"Enter the model you want to use": "輸入您想要使用的模型",
"Language": "語言",
"Enter the language you want to use": "輸入您想要使用的語言",
"What would you like me to to do?": "您想讓我做什麼?",
"What would you like me to do?": "您想讓我做什麼?",
"delete all log files": "刪除所有日誌文件",
"list js files": "列出 js 文件",
"fetch me a random joke": "隨便給我講個笑話",
"list all commits": "列出所有提交",
"Say hello": "打個招呼",
"you can edit script here": "您可以在這裡編輯腳本",
"What would you like me to to change in this script?": "您想讓我在這個腳本中做什麼修改?",
"What would you like me to change in this script?": "您想讓我在這個腳本中做什麼修改?",
"e.g.": "例如:",
"e.g. change the folder name": "例如:更改文件夾名稱",
"Your script": "您的腳本",
Expand Down
6 changes: 2 additions & 4 deletions src/prompt.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ async function getPrompt(prompt?: string) {
{
prompt: () =>
p.text({
message: i18n.t('What would you like me to to do?'),
message: i18n.t('What would you like me to do?'),
placeholder: `${i18n.t('e.g.')} ${sample(examples)}`,
initialValue: prompt,
defaultValue: i18n.t('Say hello'),
Expand All @@ -74,9 +74,7 @@ async function promptForRevision() {
{
prompt: () =>
p.text({
message: i18n.t(
'What would you like me to to change in this script?'
),
message: i18n.t('What would you like me to change in this script?'),
placeholder: i18n.t('e.g. change the folder name'),
validate: (value) => {
if (!value) return i18n.t('Please enter a prompt.');
Expand Down