### WeakAuras Companion Build Setup Commands Source: https://github.com/weakauras/weakauras-companion/blob/main/README.md Provides essential commands for setting up the development environment for the WeakAuras Companion project. This includes installing dependencies, starting a development server with hot reloading, building the application for production, and extracting translation strings. ```bash # install dependencies pnpm install ``` ```bash # serve with hot reload at localhost:9080 pnpm run dev ``` ```bash # build electron application for production pnpm run build ``` ```bash # Extract new translation strings to i18n/*.json files pnpm run i18n ``` -------------------------------- ### Pluralization Example: File Count Source: https://github.com/weakauras/weakauras-companion/blob/main/i18n/README.md An example demonstrating the pluralization format for a 'file count' phrase in English and Russian. ```en "app.countFiles": "You haven't selected any files | You have selected 1 file | You have selected {n} files" ``` ```ru "app.countFiles": "Вы не выбрали ни одного файла | Вы выбрали {n} файл | Вы выбрали {n} файла | Вы выбрали {n} файлов" ``` -------------------------------- ### Install WeakAuras Companion with Homebrew Source: https://github.com/weakauras/weakauras-companion/blob/main/README.md Installs the WeakAuras Companion application using the Homebrew package manager on macOS. The `--no-quarantine` flag is used to bypass Gatekeeper security checks for downloaded applications. ```bash brew install --no-quarantine weakauras-companion ``` -------------------------------- ### Pluralization Formatting Rules Source: https://github.com/weakauras/weakauras-companion/blob/main/i18n/README.md Defines the format for pluralization templates in localization files. Supports different forms for English, German, French (3 forms) and Russian (4 forms) based on quantity. ```en "app.phrase": "no things | 1 thing | {n} things" ``` ```de "app.phrase": "no things | 1 thing | {n} things" ``` ```fr "app.phrase": "no things | 1 thing | {n} things" ``` ```ru "app.phrase": "no things | {n} thing | {n} things | {n} things" ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.