diff --git a/src/common/translation/czech-translation-set.ts b/src/common/translation/czech-translation-set.ts index 0cc616575..c54ccc780 100644 --- a/src/common/translation/czech-translation-set.ts +++ b/src/common/translation/czech-translation-set.ts @@ -381,7 +381,7 @@ export const englishTranslationSet: TranslationSet = { "Tento plugin umožňuje zkontrolovat povětrnostní podmínky v libovolné oblasti. Pokud není k dispozici žádná oblast, je ve výchozím nastavení možné zobrazit počasí aktuální polohy. Údaje poskytuje wttr.in", weatherTemperatureUnit: "Jednotka teploty", weatherCopyToClipboard: "Stisknutím klávesy Enter zkopírujete do schránky", - + loremIpsum: "Lorem Ipsum", loremIpsumPrefix: "Předpona", loremIpsumCopyToClipboard: "Stisknutím klávesy Enter zkopírujete do schránky", diff --git a/src/common/translation/english-translation-set.ts b/src/common/translation/english-translation-set.ts index ffd9aa9b7..4c9a0097a 100755 --- a/src/common/translation/english-translation-set.ts +++ b/src/common/translation/english-translation-set.ts @@ -383,7 +383,7 @@ export const englishTranslationSet: TranslationSet = { "This plugin enables you to check the weather condition of any region. If no region is provided, it defaults to show the weather of your current location. Data is provided by wttr.in", weatherTemperatureUnit: "Temperature Unit", weatherCopyToClipboard: "Press enter to copy to clipboard", - + loremIpsum: "Lorem Ipsum", loremIpsumPrefix: "Prefix", loremIpsumCopyToClipboard: "Press enter to copy to clipboard", diff --git a/src/common/translation/finnish-translation-set.ts b/src/common/translation/finnish-translation-set.ts index 433b38418..e12c7cc7b 100644 --- a/src/common/translation/finnish-translation-set.ts +++ b/src/common/translation/finnish-translation-set.ts @@ -385,7 +385,7 @@ export const finnishTranslationSet: TranslationSet = { "Tämän laajennuksen avulla voit tarkistaa minkä tahansa alueen säätilan. Jos aluetta ei ole annettu, se näyttää oletusarvoisesti nykyisen sijaintisi sään. Tiedot toimittaa wttr.in", weatherTemperatureUnit: "Lämpötilan yksikkö", weatherCopyToClipboard: "Paina enteriä kopioidaksesi leikepöydälle", - + loremIpsum: "Lorem Ipsum", loremIpsumPrefix: "Etuliite", loremIpsumCopyToClipboard: "Paina enteriä kopioidaksesi leikepöydälle", diff --git a/src/common/translation/german-translation-set.ts b/src/common/translation/german-translation-set.ts index 532f82e07..73cd58e87 100755 --- a/src/common/translation/german-translation-set.ts +++ b/src/common/translation/german-translation-set.ts @@ -386,7 +386,7 @@ export const germanTranslationSet: TranslationSet = { "Mit diesem Plugin können Sie die Wetterbedingungen jeder Region überprüfen. Wenn keine Region angegeben wird, wird standardmäßig das Wetter Ihres aktuellen Standorts angezeigt. Die Daten werden von wttr.in zur Verfügung gestellt", weatherTemperatureUnit: "Temperatureinheit", weatherCopyToClipboard: "Drücke Enter um in die Zwischenablage zu kopieren", - + loremIpsum: "Lorem Ipsum", loremIpsumPrefix: "Prefix", loremIpsumCopyToClipboard: "Drücke Enter um in die Zwischenablage zu kopieren", diff --git a/src/common/translation/hindi-translation-set.ts b/src/common/translation/hindi-translation-set.ts index 94b618800..7e158391c 100644 --- a/src/common/translation/hindi-translation-set.ts +++ b/src/common/translation/hindi-translation-set.ts @@ -386,7 +386,7 @@ export const hindiTranslationSet: TranslationSet = { "यह प्लगइन आपको किसी भी क्षेत्र की मौसम की स्थिति की जांच करने में सक्षम बनाता है। यदि कोई क्षेत्र प्रदान नहीं किया गया है, तो यह डिफ़ॉल्ट रूप से आपके वर्तमान स्थान का मौसम दिखाता है। जानकारी wttr.in द्वारा प्रदान किया जाता है।", weatherTemperatureUnit: "तापमान इकाई", weatherCopyToClipboard: "क्लिपबोर्ड पर कॉपी करने के लिए एंटर दबाएं", - + loremIpsum: "Lorem Ipsum", loremIpsumPrefix: "उपसर्ग", loremIpsumCopyToClipboard: "क्लिपबोर्ड पर कॉपी करने के लिए एंटर दबाएं", diff --git a/src/common/translation/italian-translation-set.ts b/src/common/translation/italian-translation-set.ts index 949bb5a73..3c4109a97 100644 --- a/src/common/translation/italian-translation-set.ts +++ b/src/common/translation/italian-translation-set.ts @@ -385,9 +385,10 @@ export const italianTranslationSet: TranslationSet = { "Questo plugin ti consente di controllare le condizioni meteorologiche di qualsiasi regione. Se non viene fornita alcuna regione, per impostazione predefinita mostra il tempo della tua posizione attuale. I dati sono forniti da wttr.in", weatherTemperatureUnit: "Unità di temperatura", weatherCopyToClipboard: "Premi Invio per copiare negli appunti", - + loremIpsum: "Lorem Ipsum", loremIpsumPrefix: "Prefisso", loremIpsumCopyToClipboard: "Premi Invio per copiare negli appunti", - loremIpsumSettingsDescription: "Questo plugin ti consente di copiare rapidamente il testo di esempio negli appunti.", + loremIpsumSettingsDescription: + "Questo plugin ti consente di copiare rapidamente il testo di esempio negli appunti.", }; diff --git a/src/common/translation/japanese-translation-set.ts b/src/common/translation/japanese-translation-set.ts index 170e744b2..27d7115ad 100644 --- a/src/common/translation/japanese-translation-set.ts +++ b/src/common/translation/japanese-translation-set.ts @@ -380,9 +380,10 @@ export const japaneseTranslationSet: TranslationSet = { "このプラグインは、あなたが任意の地域の気象条件を確認することができます。リージョンが指定されていない場合、既定では現在の場所の天気が表示されます。データは wttr.in によって提供されます", weatherTemperatureUnit: "温度単位", weatherCopyToClipboard: "エンターを押下してクリップボードにコピー", - + loremIpsum: "Lorem Ipsum", loremIpsumPrefix: "接頭辞", loremIpsumCopyToClipboard: "エンターを押下してクリップボードにコピー", - loremIpsumSettingsDescription: "このプラグインを使用すると、サンプル テキストをクリップボードにすばやくコピーできます。", + loremIpsumSettingsDescription: + "このプラグインを使用すると、サンプル テキストをクリップボードにすばやくコピーできます。", }; diff --git a/src/common/translation/korean-translation-set.ts b/src/common/translation/korean-translation-set.ts index 7d2ae6c4e..935de4ba0 100644 --- a/src/common/translation/korean-translation-set.ts +++ b/src/common/translation/korean-translation-set.ts @@ -378,7 +378,7 @@ export const koreanTranslationSet: TranslationSet = { "이 플러그인은 모든 지역의 날씨 상태를 확인할 수 있습니다. 지역이 제공되지 않으면 기본값으로 현재 위치의 날씨를 표시합니다. 데이터는 wttr.in 의해 제공됩니다.", weatherTemperatureUnit: "온도 단위", weatherCopyToClipboard: "Enter를 눌러 계산 결과를 클립보드에 복사", - + loremIpsum: "Lorem Ipsum", loremIpsumPrefix: "접두사", loremIpsumCopyToClipboard: "Enter를 눌러 계산 결과를 클립보드에 복사", diff --git a/src/common/translation/portuguese-translation-set.ts b/src/common/translation/portuguese-translation-set.ts index b8e6117d8..437582669 100644 --- a/src/common/translation/portuguese-translation-set.ts +++ b/src/common/translation/portuguese-translation-set.ts @@ -387,9 +387,10 @@ export const portugueseTranslationSet: TranslationSet = { "Este plugin permite verificar as condições meteorológicas de qualquer região. Se nenhuma região for fornecida, ela não pode mostrar o tempo de sua localização atual. Os dados são fornecidos por wttr.in", weatherTemperatureUnit: "Unidade de Temperatura", weatherCopyToClipboard: "Pressione Enter para copiar para a área de transferência", - + loremIpsum: "Lorem Ipsum", loremIpsumPrefix: "Prefixo", loremIpsumCopyToClipboard: "Pressione Enter para copiar para a área de transferência", - loremIpsumSettingsDescription: "Este plug-in permite que você copie rapidamente o texto de amostra para a área de transferência.", + loremIpsumSettingsDescription: + "Este plug-in permite que você copie rapidamente o texto de amostra para a área de transferência.", }; diff --git a/src/common/translation/russian-translation-set.ts b/src/common/translation/russian-translation-set.ts index a00a41d1b..b7b9ab7c7 100755 --- a/src/common/translation/russian-translation-set.ts +++ b/src/common/translation/russian-translation-set.ts @@ -380,7 +380,7 @@ export const russianTranslationSet: TranslationSet = { "Этот плагин позволяет проверить погодные условия любого региона. Если регион не указан, по умолчанию отображается погода текущего местоположения. Данные предоставляются wttr.in", weatherTemperatureUnit: "Единица измерения температуры", weatherCopyToClipboard: "Нажмите enter, чтобы скопировать", - + loremIpsum: "Lorem Ipsum", loremIpsumPrefix: "Приставка", loremIpsumCopyToClipboard: "Нажмите enter, чтобы скопировать", diff --git a/src/common/translation/simplified-chinese-translation-set.ts b/src/common/translation/simplified-chinese-translation-set.ts index 5bce73a50..bd95d04e6 100644 --- a/src/common/translation/simplified-chinese-translation-set.ts +++ b/src/common/translation/simplified-chinese-translation-set.ts @@ -374,7 +374,7 @@ export const simplifiedChineseTranslationSet: TranslationSet = { "此插件可让您检查任何区域的天气状况。如果没有提供区域,则默认显示当前位置的天气。数据由 wttr.in 提供", weatherTemperatureUnit: "温度单位", weatherCopyToClipboard: "按 Enter 复制到剪贴板", - + loremIpsum: "Lorem Ipsum", loremIpsumPrefix: "前缀", loremIpsumCopyToClipboard: "按 Enter 复制到剪贴板", diff --git a/src/common/translation/spanish-translation-set.ts b/src/common/translation/spanish-translation-set.ts index 9de6d1e26..3928a6a95 100644 --- a/src/common/translation/spanish-translation-set.ts +++ b/src/common/translation/spanish-translation-set.ts @@ -388,9 +388,10 @@ export const spanishTranslationSet: TranslationSet = { "Este plugin le permite comprobar el estado meteorológico de cualquier región. Si no se proporciona ninguna región, de forma predeterminada se muestra el clima de su ubicación actual. Los datos son proporcionados por wttr.in", weatherTemperatureUnit: "Unidad de temperatura", weatherCopyToClipboard: "Presiona enter para copiar al portapapeles", - + loremIpsum: "Lorem Ipsum", loremIpsumPrefix: "Prefijo", loremIpsumCopyToClipboard: "Presiona enter para copiar al portapapeles", - loremIpsumSettingsDescription: "Este complemento le permite copiar rápidamente texto de muestra en su portapapeles.", + loremIpsumSettingsDescription: + "Este complemento le permite copiar rápidamente texto de muestra en su portapapeles.", }; diff --git a/src/common/translation/traditional-chinese-translation-set.ts b/src/common/translation/traditional-chinese-translation-set.ts index 937ace6f7..2249e23c6 100644 --- a/src/common/translation/traditional-chinese-translation-set.ts +++ b/src/common/translation/traditional-chinese-translation-set.ts @@ -374,7 +374,7 @@ export const traditionalChineseTranslationSet: TranslationSet = { "此外掛程式可讓您查詢任何區域的天氣狀況。如果沒有提供區域,則預設顯示現時位置的天氣。數據由 wttr.in 提供。", weatherTemperatureUnit: "溫度單位", weatherCopyToClipboard: "按 Enter 複製到剪貼簿", - + loremIpsum: "Lorem Ipsum", loremIpsumPrefix: "前綴", loremIpsumCopyToClipboard: "按 Enter 複製到剪貼簿", diff --git a/src/common/translation/translation-set-manager.ts b/src/common/translation/translation-set-manager.ts index a42d9e144..b5b7777bd 100644 --- a/src/common/translation/translation-set-manager.ts +++ b/src/common/translation/translation-set-manager.ts @@ -36,7 +36,7 @@ export function getTranslationSet(language: Language): TranslationSet { case Language.SimplifiedChinese: return simplifiedChineseTranslationSet; case Language.TraditionalChinese: - return traditionalChineseTranslationSet; + return traditionalChineseTranslationSet; case Language.Korean: return koreanTranslationSet; case Language.Japanese: diff --git a/src/common/translation/turkish-translation-set.ts b/src/common/translation/turkish-translation-set.ts index 70ead0c47..5c0892a29 100755 --- a/src/common/translation/turkish-translation-set.ts +++ b/src/common/translation/turkish-translation-set.ts @@ -387,7 +387,7 @@ export const turkishTranslationSet: TranslationSet = { "Bu eklenti, herhangi bir bölgenin hava durumunu kontrol etmenizi sağlar. Hiçbir bölge sağlanmazsa, geçerli konumunuzun hava durumunu göstermek varsayılan olarak sağlanır. Veriler wttr.in tarafından sağlanır", weatherTemperatureUnit: "Sıcaklık Birimi", weatherCopyToClipboard: "Panoya kopyalamak için enter tuşuna basın", - + loremIpsum: "Lorem Ipsum", loremIpsumPrefix: "Ön ek", loremIpsumCopyToClipboard: "Panoya kopyalamak için enter tuşuna basın", diff --git a/src/common/translation/ukrainian-translation-set.ts b/src/common/translation/ukrainian-translation-set.ts index fc7ed69f9..89b6ca7c1 100644 --- a/src/common/translation/ukrainian-translation-set.ts +++ b/src/common/translation/ukrainian-translation-set.ts @@ -380,7 +380,7 @@ export const ukrainianTranslationSet: TranslationSet = { "Цей плагін дозволяє перевірити погодні умови будь-якого регіону. Якщо регіон не вказано, за замовчуванням відображається погода поточного розташування. Дані надаються wttr.in", weatherTemperatureUnit: "Одиниця виміру температури", weatherCopyToClipboard: "Натисніть клавішу enter, щоб скопіювати", - + loremIpsum: "Lorem Ipsum", loremIpsumPrefix: "Префікс", loremIpsumCopyToClipboard: "Натисніть клавішу enter, щоб скопіювати", diff --git a/src/main/plugins/lorem-ipsum-plugin/lorem-ipsum-plugin.ts b/src/main/plugins/lorem-ipsum-plugin/lorem-ipsum-plugin.ts index d7c3bd1a1..07a514dd6 100644 --- a/src/main/plugins/lorem-ipsum-plugin/lorem-ipsum-plugin.ts +++ b/src/main/plugins/lorem-ipsum-plugin/lorem-ipsum-plugin.ts @@ -11,13 +11,13 @@ import { LoremIpsum } from "lorem-ipsum"; const lorem = new LoremIpsum({ sentencesPerParagraph: { max: 8, - min: 4 - }, - wordsPerSentence: { + min: 4, + }, + wordsPerSentence: { max: 16, - min: 4 - } -}) + min: 4, + }, +}); export class LoremIpsumPlugin implements ExecutionPlugin { public pluginType = PluginType.LoremIpsum; @@ -74,7 +74,7 @@ export class LoremIpsumPlugin implements ExecutionPlugin { const args = searchResultItem.executionArgument; const mode = args[0]; const value = Number(args.slice(1)); - switch(mode) { + switch (mode) { case "w": this.clipboardCopier(lorem.generateWords(value)); break;