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

Fixes and updates in Ukrainian Localization #1656

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from

Conversation

JornieNonsubia
Copy link
Contributor

@JornieNonsubia JornieNonsubia commented Dec 28, 2024

  • Fixes in uk.json file
  • Add partial Ukrainian translation to system manual docs\uk\

@JornieNonsubia JornieNonsubia changed the title Ukrainian Localization Fixes and updates in Ukrainian Localization Dec 28, 2024
@snap01
Copy link
Collaborator

snap01 commented Jan 7, 2025

The docs folder is generated from the modules/manual/ folder via the command npm run build-manuals which generates the doc folder and creates the JournalEntry in the system.

You are also able to use the following and the generated files will show the icons / links in the JournalEntry and show as text in the md files.
@Compendium[CoC7.items.3elxAwnv7WCUNwng]{Punch}
[fas fa-user-edit]
[game-icon game-icon-tentacle-strike]

Are you able to create the equivalent files in the modules/manual/ folder?

@JornieNonsubia
Copy link
Contributor Author

JornieNonsubia commented Jan 14, 2025

I kinda did. I have moved my translation folder to module/manual. Run npm run build-manuals and it has created some files in pack folder and docs/uk folder. Then I run npm build which give me 3 warnings about file sizes, but when I open foundry, EN doc still opens though I have chosen Ukrainian.
Also I have added this to the file shared/generate-manuals.js in const sources after fr

uk: {
    name: 'Поклик Ктулху: 7 Видання',
    priority: 0,
    pages: [
      {
        name: 'Документація про систему',
        file: 'README.md'
      },
      {
        name: 'Ефекти',
        file: 'effects.md'
      },
      {
        name: 'Імпорт Акторів',
        file: 'actor_importer.md'
      },
      {
        name: 'Створення персонажа',
        file: 'character_creation.md'
      },
      {
        name: 'Гонитва (Не перекладено)',
        file: 'chases.md'
      },
      {
        name: 'Система CoC ID (Не перекладено)',
        file: 'coc-id-system.md'
      },
      {
        name: 'Бій (Не перекладено)',
        file: 'combat.md'
      },
      {
        name: 'Шпаргалка з командами',
        file: 'commands_cheat_sheet.md'
      },
      {
        name: 'Створення першого дослідника (Не перекладено)',
        file: 'first_investigator.md'
      },
      {
        name: 'Предмети',
        file: 'items.md'
      },
      {
        name: 'Тип предмету: Архетип Pulp',
        file: 'item_archetype.md'
      },
      {
        name: 'Тип предмету: Книга',
        file: 'item_book.md'
      },
      {
        name: 'Тип предмету: Діяльність (не перекладено)',
        file: 'item_occupation.md'
      },
      {
        name: 'Тип предмету: Шаблон (Не перекладено)',
        file: 'item_setup.md'
      },
      {
        name: 'Тип предмету: Вміння',
        file: 'item_skill.md'
      },
      {
        name: 'Посилання на кидки (Не перекладено)',
        file: 'links.md'
      },
      {
        name: 'Засіб створення посилань (Не перекладено)',
        file: 'link_creation_window.md'
      },
      {
        name: 'Глузд',
        file: 'sanity.md'
      }
    ]
    ```

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants