From 4408a019440f1608f800eeedf684b605dd0c464a Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Sat, 7 Apr 2007 07:15:56 +0000 Subject: [PATCH] Give better names to new collection/search dialogs --- chrome/content/zotero/advancedSearch.js | 3 ++- chrome/content/zotero/overlay.js | 3 ++- chrome/locale/bg-BG/zotero/zotero.properties | 1 - chrome/locale/de-AT/zotero/zotero.properties | 1 - chrome/locale/de-CH/zotero/zotero.properties | 1 - chrome/locale/de-DE/zotero/zotero.properties | 1 - chrome/locale/en-US/zotero/zotero.properties | 4 +++- chrome/locale/es-ES/zotero/zotero.properties | 1 - chrome/locale/fr-FR/zotero/zotero.properties | 1 - chrome/locale/it-IT/zotero/zotero.properties | 1 - chrome/locale/ja-JP/zotero/zotero.properties | 1 - chrome/locale/ko-KR/zotero/zotero.properties | 1 - chrome/locale/nb-NO/zotero/zotero.properties | 1 - chrome/locale/nl-NL/zotero/zotero.properties | 1 - chrome/locale/pt-BR/zotero/zotero.properties | 1 - chrome/locale/sr-YU/zotero/zotero.properties | 1 - chrome/locale/tr-TR/zotero/zotero.properties | 1 - chrome/locale/zh-CN/zotero/zotero.properties | 1 - chrome/locale/zh-TW/zotero/zotero.properties | 1 - 19 files changed, 7 insertions(+), 19 deletions(-) diff --git a/chrome/content/zotero/advancedSearch.js b/chrome/content/zotero/advancedSearch.js index 1a841dd615..123bde53f2 100644 --- a/chrome/content/zotero/advancedSearch.js +++ b/chrome/content/zotero/advancedSearch.js @@ -67,7 +67,8 @@ var ZoteroAdvancedSearch = new function() { Zotero.getString('pane.collections.untitled')); var name = { value: untitled }; - var result = promptService.prompt(window, "", + var result = promptService.prompt(window, + Zotero.getString('pane.collections.newSavedSeach'), Zotero.getString('pane.collections.savedSearchName'), name, "", {}); if (!result) diff --git a/chrome/content/zotero/overlay.js b/chrome/content/zotero/overlay.js index 46e6fb2f85..1086eaabab 100644 --- a/chrome/content/zotero/overlay.js +++ b/chrome/content/zotero/overlay.js @@ -420,7 +420,8 @@ var ZoteroPane = new function() Zotero.getString('pane.collections.untitled')); var newName = { value: untitled }; - var result = promptService.prompt(window, "", + var result = promptService.prompt(window, + Zotero.getString('pane.collections.newCollection'), Zotero.getString('pane.collections.name'), newName, "", {}); if (!result) diff --git a/chrome/locale/bg-BG/zotero/zotero.properties b/chrome/locale/bg-BG/zotero/zotero.properties index 7b1939bcc1..d4318fae63 100644 --- a/chrome/locale/bg-BG/zotero/zotero.properties +++ b/chrome/locale/bg-BG/zotero/zotero.properties @@ -13,7 +13,6 @@ dataDir.selectedDirNonEmpty.text=The directory you selected is not empty and doe pane.collections.delete=Сигурни ли сте, че искате да изтриете избраната колекция? pane.collections.deleteSearch=Сигурни ли сте, че искате да изтриете избраното търсене? -pane.collections.name=Име на колекцията: pane.collections.savedSearchName=Enter a name for this saved search: pane.collections.rename=Преименуване на колекцията: pane.collections.library=Моята Библиотека diff --git a/chrome/locale/de-AT/zotero/zotero.properties b/chrome/locale/de-AT/zotero/zotero.properties index a7aed3bf77..ec20f7a24e 100644 --- a/chrome/locale/de-AT/zotero/zotero.properties +++ b/chrome/locale/de-AT/zotero/zotero.properties @@ -13,7 +13,6 @@ dataDir.selectedDirNonEmpty.text=The directory you selected is not empty and doe pane.collections.delete=Sind Sie sicher, dass Sie die ausgewählte Sammlung löschen möchten? pane.collections.deleteSearch=Sind Sie sicher, dass Sie die ausgewählte Suche löschen möchten? -pane.collections.name=Name der Sammlung: pane.collections.savedSearchName=Enter a name for this saved search: pane.collections.rename=Sammlung umbenennen: pane.collections.library=Meine Bibliothek diff --git a/chrome/locale/de-CH/zotero/zotero.properties b/chrome/locale/de-CH/zotero/zotero.properties index 9d8cd0abfa..49fb0fdeeb 100644 --- a/chrome/locale/de-CH/zotero/zotero.properties +++ b/chrome/locale/de-CH/zotero/zotero.properties @@ -13,7 +13,6 @@ dataDir.selectedDirNonEmpty.text=The directory you selected is not empty and doe pane.collections.delete=Sind Sie sicher, dass Sie die ausgewählte Sammlung löschen möchten? pane.collections.deleteSearch=Sind Sie sicher, dass Sie die ausgewählte Suche löschen möchten? -pane.collections.name=Name der Sammlung: pane.collections.savedSearchName=Enter a name for this saved search: pane.collections.rename=Sammlung umbenennen: pane.collections.library=Meine Bibliothek diff --git a/chrome/locale/de-DE/zotero/zotero.properties b/chrome/locale/de-DE/zotero/zotero.properties index 0e05075dc3..45ca6ddec8 100644 --- a/chrome/locale/de-DE/zotero/zotero.properties +++ b/chrome/locale/de-DE/zotero/zotero.properties @@ -13,7 +13,6 @@ dataDir.selectedDirNonEmpty.text=The directory you selected is not empty and doe pane.collections.delete=Sind Sie sicher, dass Sie die ausgewählte Sammlung löschen möchten? pane.collections.deleteSearch=Sind Sie sicher, dass Sie die ausgewählte Suche löschen möchten? -pane.collections.name=Name der Sammlung: pane.collections.savedSearchName=Enter a name for this saved search: pane.collections.rename=Sammlung umbenennen: pane.collections.library=Meine Bibliothek diff --git a/chrome/locale/en-US/zotero/zotero.properties b/chrome/locale/en-US/zotero/zotero.properties index 4ff27f25ec..07ba1a18cb 100644 --- a/chrome/locale/en-US/zotero/zotero.properties +++ b/chrome/locale/en-US/zotero/zotero.properties @@ -16,7 +16,9 @@ dataDir.selectedDirNonEmpty.text = The directory you selected is not empty and pane.collections.delete = Are you sure you want to delete the selected collection? pane.collections.deleteSearch = Are you sure you want to delete the selected search? -pane.collections.name = Collection name: +pane.collections.newCollection = New Collection +pane.collections.name = Enter a name for this collection: +pane.collections.newSavedSeach = New Saved Search pane.collections.savedSearchName = Enter a name for this saved search: pane.collections.rename = Rename collection: pane.collections.library = My Library diff --git a/chrome/locale/es-ES/zotero/zotero.properties b/chrome/locale/es-ES/zotero/zotero.properties index 03e33b9fc4..a2f33d0145 100644 --- a/chrome/locale/es-ES/zotero/zotero.properties +++ b/chrome/locale/es-ES/zotero/zotero.properties @@ -13,7 +13,6 @@ dataDir.selectedDirNonEmpty.text=The directory you selected is not empty and doe pane.collections.delete=¿Seguro que quieres borrar la colección seleccionada? pane.collections.deleteSearch=¿Seguro que quieres borrar la búsqueda seleccionada? -pane.collections.name=Nombre de la colección: pane.collections.savedSearchName=Enter a name for this saved search: pane.collections.rename=Renombrar colección: pane.collections.library=My biblioteca diff --git a/chrome/locale/fr-FR/zotero/zotero.properties b/chrome/locale/fr-FR/zotero/zotero.properties index 9703fdd9b4..7000c7ce00 100644 --- a/chrome/locale/fr-FR/zotero/zotero.properties +++ b/chrome/locale/fr-FR/zotero/zotero.properties @@ -13,7 +13,6 @@ dataDir.selectedDirNonEmpty.text=The directory you selected is not empty and doe pane.collections.delete=Voulez-vous vraiment supprimer la collection sélectionnée ? pane.collections.deleteSearch=Voulez-vous vraiment supprimer la recherche sélectionnée ? -pane.collections.name=Nom de la collection : pane.collections.savedSearchName=Enter a name for this saved search: pane.collections.rename=Renommer la collection : pane.collections.library=Ma bibliothèque diff --git a/chrome/locale/it-IT/zotero/zotero.properties b/chrome/locale/it-IT/zotero/zotero.properties index f9db489f55..055e2fa1f1 100644 --- a/chrome/locale/it-IT/zotero/zotero.properties +++ b/chrome/locale/it-IT/zotero/zotero.properties @@ -13,7 +13,6 @@ dataDir.selectedDirNonEmpty.text=The directory you selected is not empty and doe pane.collections.delete=Eliminare la collezione selezionata? pane.collections.deleteSearch=Eliminare la ricerca selezionata? -pane.collections.name=Nome collezione: pane.collections.savedSearchName=Enter a name for this saved search: pane.collections.rename=Rinomina collezione: pane.collections.library=Libreria personale diff --git a/chrome/locale/ja-JP/zotero/zotero.properties b/chrome/locale/ja-JP/zotero/zotero.properties index da5bde953c..ed43653c12 100644 --- a/chrome/locale/ja-JP/zotero/zotero.properties +++ b/chrome/locale/ja-JP/zotero/zotero.properties @@ -13,7 +13,6 @@ dataDir.selectedDirNonEmpty.text=The directory you selected is not empty and doe pane.collections.delete=選択されたコレクションを削除してよろしいですか? pane.collections.deleteSearch=選択された検索式保存を削除してよろしいですか? -pane.collections.name=コレクション名: pane.collections.savedSearchName=Enter a name for this saved search: pane.collections.rename=コレクション名の変更: pane.collections.library=マイ・ライブラリー diff --git a/chrome/locale/ko-KR/zotero/zotero.properties b/chrome/locale/ko-KR/zotero/zotero.properties index 2211fa6c2e..455893be76 100644 --- a/chrome/locale/ko-KR/zotero/zotero.properties +++ b/chrome/locale/ko-KR/zotero/zotero.properties @@ -13,7 +13,6 @@ dataDir.selectedDirNonEmpty.text=The directory you selected is not empty and doe pane.collections.delete=선택된 수집품을 삭제하길 원하는게 맞습니까? pane.collections.deleteSearch=선택된 검색을 삭제하길 원하는게 맞습니까? -pane.collections.name=수집품 명: pane.collections.savedSearchName=Enter a name for this saved search: pane.collections.rename=수집품 이름변경: pane.collections.library=내 라이브러리 diff --git a/chrome/locale/nb-NO/zotero/zotero.properties b/chrome/locale/nb-NO/zotero/zotero.properties index 1d1f0499f6..737d4d2d91 100644 --- a/chrome/locale/nb-NO/zotero/zotero.properties +++ b/chrome/locale/nb-NO/zotero/zotero.properties @@ -13,7 +13,6 @@ dataDir.selectedDirNonEmpty.text=The directory you selected is not empty and doe pane.collections.delete=Er du sikker på at du vil slette den valgte samlingen? pane.collections.deleteSearch=Er du sikker på at du vil slette det valgte søket? -pane.collections.name=Samlingsnavn: pane.collections.savedSearchName=Enter a name for this saved search: pane.collections.rename=Gi samling nytt navn: pane.collections.library=Mitt bibliotek diff --git a/chrome/locale/nl-NL/zotero/zotero.properties b/chrome/locale/nl-NL/zotero/zotero.properties index c325687e47..21d7a8ada6 100644 --- a/chrome/locale/nl-NL/zotero/zotero.properties +++ b/chrome/locale/nl-NL/zotero/zotero.properties @@ -13,7 +13,6 @@ dataDir.selectedDirNonEmpty.text=The directory you selected is not empty and doe pane.collections.delete=Ben je zeker dat je de geselecteerde collectie wil verwijderen? pane.collections.deleteSearch=Ben je zeker dat je de geselecteerde zoekopdracht wil verwijderen? -pane.collections.name=Naam Collectie: pane.collections.savedSearchName=Enter a name for this saved search: pane.collections.rename=Naam collectie wijzigen: pane.collections.library=Mijn Bibliotheek diff --git a/chrome/locale/pt-BR/zotero/zotero.properties b/chrome/locale/pt-BR/zotero/zotero.properties index 284bd58642..d543726ac1 100644 --- a/chrome/locale/pt-BR/zotero/zotero.properties +++ b/chrome/locale/pt-BR/zotero/zotero.properties @@ -13,7 +13,6 @@ dataDir.selectedDirNonEmpty.text=The directory you selected is not empty and doe pane.collections.delete=Você deseja apagar a coleção selecionada? pane.collections.deleteSearch=Você deseja apagar a pesquisa selecionada? -pane.collections.name=Nome coleção: pane.collections.savedSearchName=Enter a name for this saved search: pane.collections.rename=Renomear coleção: pane.collections.library=Minha biblioteca diff --git a/chrome/locale/sr-YU/zotero/zotero.properties b/chrome/locale/sr-YU/zotero/zotero.properties index 1d1d18ef87..8c91b644db 100644 --- a/chrome/locale/sr-YU/zotero/zotero.properties +++ b/chrome/locale/sr-YU/zotero/zotero.properties @@ -13,7 +13,6 @@ dataDir.selectedDirNonEmpty.text=The directory you selected is not empty and doe pane.collections.delete=Да ли сте сигурни да желите избрисати изабране колекције? pane.collections.deleteSearch=Да ли сте сигурни да желите избрисати изабране претраге? -pane.collections.name=Име колекције: pane.collections.savedSearchName=Enter a name for this saved search: pane.collections.rename=Преименуј колекцију: pane.collections.library=Моја библиотека diff --git a/chrome/locale/tr-TR/zotero/zotero.properties b/chrome/locale/tr-TR/zotero/zotero.properties index 31f4824b34..547da23db4 100644 --- a/chrome/locale/tr-TR/zotero/zotero.properties +++ b/chrome/locale/tr-TR/zotero/zotero.properties @@ -13,7 +13,6 @@ dataDir.selectedDirNonEmpty.text=The directory you selected is not empty and doe pane.collections.delete=Seçili dermeyi silmeyi istediğinize emin misiniz? pane.collections.deleteSearch=Seçili aramayı silmeyi istediğinize emin misiniz? -pane.collections.name=Derme adı: pane.collections.savedSearchName=Enter a name for this saved search: pane.collections.rename=Dermeyi yeniden adlandır: pane.collections.library=Kütüphanem diff --git a/chrome/locale/zh-CN/zotero/zotero.properties b/chrome/locale/zh-CN/zotero/zotero.properties index 5daab67ad4..c07578ed37 100644 --- a/chrome/locale/zh-CN/zotero/zotero.properties +++ b/chrome/locale/zh-CN/zotero/zotero.properties @@ -13,7 +13,6 @@ dataDir.selectedDirNonEmpty.text=The directory you selected is not empty and doe pane.collections.delete=确实要删除所选分类吗? pane.collections.deleteSearch=确实要删除所选检索? -pane.collections.name=分类名: pane.collections.savedSearchName=Enter a name for this saved search: pane.collections.rename=重命名分类: pane.collections.library=数据库 diff --git a/chrome/locale/zh-TW/zotero/zotero.properties b/chrome/locale/zh-TW/zotero/zotero.properties index bebf2d720a..0150e30158 100644 --- a/chrome/locale/zh-TW/zotero/zotero.properties +++ b/chrome/locale/zh-TW/zotero/zotero.properties @@ -13,7 +13,6 @@ dataDir.selectedDirNonEmpty.text=The directory you selected is not empty and doe pane.collections.delete=你確定要刪除選定的聚集嗎? pane.collections.deleteSearch=你確定要刪除選定的搜尋嗎? -pane.collections.name=聚集名稱: pane.collections.savedSearchName=Enter a name for this saved search: pane.collections.rename=重新命名聚集: pane.collections.library=我的書庫