Skip to content

Commit

Permalink
Prettier formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
oliverschwendener committed Apr 20, 2023
1 parent ca710a5 commit a4fb134
Show file tree
Hide file tree
Showing 17 changed files with 31 additions and 27 deletions.
2 changes: 1 addition & 1 deletion src/common/translation/czech-translation-set.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion src/common/translation/english-translation-set.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion src/common/translation/finnish-translation-set.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion src/common/translation/german-translation-set.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion src/common/translation/hindi-translation-set.ts
Original file line number Diff line number Diff line change
Expand Up @@ -386,7 +386,7 @@ export const hindiTranslationSet: TranslationSet = {
"यह प्लगइन आपको किसी भी क्षेत्र की मौसम की स्थिति की जांच करने में सक्षम बनाता है। यदि कोई क्षेत्र प्रदान नहीं किया गया है, तो यह डिफ़ॉल्ट रूप से आपके वर्तमान स्थान का मौसम दिखाता है। जानकारी wttr.in द्वारा प्रदान किया जाता है।",
weatherTemperatureUnit: "तापमान इकाई",
weatherCopyToClipboard: "क्लिपबोर्ड पर कॉपी करने के लिए एंटर दबाएं",

loremIpsum: "Lorem Ipsum",
loremIpsumPrefix: "उपसर्ग",
loremIpsumCopyToClipboard: "क्लिपबोर्ड पर कॉपी करने के लिए एंटर दबाएं",
Expand Down
5 changes: 3 additions & 2 deletions src/common/translation/italian-translation-set.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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.",
};
5 changes: 3 additions & 2 deletions src/common/translation/japanese-translation-set.ts
Original file line number Diff line number Diff line change
Expand Up @@ -380,9 +380,10 @@ export const japaneseTranslationSet: TranslationSet = {
"このプラグインは、あなたが任意の地域の気象条件を確認することができます。リージョンが指定されていない場合、既定では現在の場所の天気が表示されます。データは wttr.in によって提供されます",
weatherTemperatureUnit: "温度単位",
weatherCopyToClipboard: "エンターを押下してクリップボードにコピー",

loremIpsum: "Lorem Ipsum",
loremIpsumPrefix: "接頭辞",
loremIpsumCopyToClipboard: "エンターを押下してクリップボードにコピー",
loremIpsumSettingsDescription: "このプラグインを使用すると、サンプル テキストをクリップボードにすばやくコピーできます。",
loremIpsumSettingsDescription:
"このプラグインを使用すると、サンプル テキストをクリップボードにすばやくコピーできます。",
};
2 changes: 1 addition & 1 deletion src/common/translation/korean-translation-set.ts
Original file line number Diff line number Diff line change
Expand Up @@ -378,7 +378,7 @@ export const koreanTranslationSet: TranslationSet = {
"이 플러그인은 모든 지역의 날씨 상태를 확인할 수 있습니다. 지역이 제공되지 않으면 기본값으로 현재 위치의 날씨를 표시합니다. 데이터는 wttr.in 의해 제공됩니다.",
weatherTemperatureUnit: "온도 단위",
weatherCopyToClipboard: "Enter를 눌러 계산 결과를 클립보드에 복사",

loremIpsum: "Lorem Ipsum",
loremIpsumPrefix: "접두사",
loremIpsumCopyToClipboard: "Enter를 눌러 계산 결과를 클립보드에 복사",
Expand Down
5 changes: 3 additions & 2 deletions src/common/translation/portuguese-translation-set.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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.",
};
2 changes: 1 addition & 1 deletion src/common/translation/russian-translation-set.ts
Original file line number Diff line number Diff line change
Expand Up @@ -380,7 +380,7 @@ export const russianTranslationSet: TranslationSet = {
"Этот плагин позволяет проверить погодные условия любого региона. Если регион не указан, по умолчанию отображается погода текущего местоположения. Данные предоставляются wttr.in",
weatherTemperatureUnit: "Единица измерения температуры",
weatherCopyToClipboard: "Нажмите enter, чтобы скопировать",

loremIpsum: "Lorem Ipsum",
loremIpsumPrefix: "Приставка",
loremIpsumCopyToClipboard: "Нажмите enter, чтобы скопировать",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,7 @@ export const simplifiedChineseTranslationSet: TranslationSet = {
"此插件可让您检查任何区域的天气状况。如果没有提供区域,则默认显示当前位置的天气。数据由 wttr.in 提供",
weatherTemperatureUnit: "温度单位",
weatherCopyToClipboard: "按 Enter 复制到剪贴板",

loremIpsum: "Lorem Ipsum",
loremIpsumPrefix: "前缀",
loremIpsumCopyToClipboard: "按 Enter 复制到剪贴板",
Expand Down
5 changes: 3 additions & 2 deletions src/common/translation/spanish-translation-set.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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.",
};
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,7 @@ export const traditionalChineseTranslationSet: TranslationSet = {
"此外掛程式可讓您查詢任何區域的天氣狀況。如果沒有提供區域,則預設顯示現時位置的天氣。數據由 wttr.in 提供。",
weatherTemperatureUnit: "溫度單位",
weatherCopyToClipboard: "按 Enter 複製到剪貼簿",

loremIpsum: "Lorem Ipsum",
loremIpsumPrefix: "前綴",
loremIpsumCopyToClipboard: "按 Enter 複製到剪貼簿",
Expand Down
2 changes: 1 addition & 1 deletion src/common/translation/translation-set-manager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion src/common/translation/turkish-translation-set.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion src/common/translation/ukrainian-translation-set.ts
Original file line number Diff line number Diff line change
Expand Up @@ -380,7 +380,7 @@ export const ukrainianTranslationSet: TranslationSet = {
"Цей плагін дозволяє перевірити погодні умови будь-якого регіону. Якщо регіон не вказано, за замовчуванням відображається погода поточного розташування. Дані надаються wttr.in",
weatherTemperatureUnit: "Одиниця виміру температури",
weatherCopyToClipboard: "Натисніть клавішу enter, щоб скопіювати",

loremIpsum: "Lorem Ipsum",
loremIpsumPrefix: "Префікс",
loremIpsumCopyToClipboard: "Натисніть клавішу enter, щоб скопіювати",
Expand Down
14 changes: 7 additions & 7 deletions src/main/plugins/lorem-ipsum-plugin/lorem-ipsum-plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit a4fb134

Please sign in to comment.