Skip to content

Commit

Permalink
irregular pronunciations indicator
Browse files Browse the repository at this point in the history
  • Loading branch information
Saturnine-Softworks committed Jan 3, 2024
1 parent bf90691 commit 0a25c03
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 7 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "lexicanter",
"productName": "Lexicanter",
"version": "2.1.11",
"version": "2.1.12",
"description": "A lexicon management tool for constructed languages.",
"main": "src/index.js",
"scripts": {
Expand Down
11 changes: 11 additions & 0 deletions src/app/components/Pronunciations.svelte
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<script lang="ts">
import type * as Lect from '../types';
import { Language } from '../stores';
import {tooltip} from '@svelte-plugins/tooltips';
export let pronunciations: Lect.EntryPronunciations;
</script>
Expand All @@ -11,12 +12,22 @@
<u>{lect}</u>
<span class="pronunciation">
{pronunciations[lect].ipa}
{#if pronunciations[lect].irregular}
<span use:tooltip={{position:'bottom'}} title='irregular pronunciation: rules are not being applied' class='material-icons'
style='font-size:0.75em; margin-right:-1em'>
lightbulb</span>
{/if}
</span>
</p>
{/each}
{:else}
<p class="pronunciation">
{pronunciations.General.ipa}
{#if pronunciations.General.irregular}
<span use:tooltip={{position:'bottom'}} title='irregular pronunciation: rules are not being applied' class='material-icons'
style='font-size:0.75em; margin-right:-1em'>
lightbulb</span>
{/if}
</p>
{/if}
{/if}
8 changes: 6 additions & 2 deletions src/app/layouts/Changelog.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,18 @@
<a rel="noreferrer" target="_blank" href="https://discord.gg/uDk2XDhh8K">Discord server</a>.

<br><hr/><br>
<p><u>New in 2.1.11</u></p>
<p><u>Patch 2.1.12</u></p>
<p style="width: 70%; margin: auto; text-align: left; line-height: 1.6">
• Added a new default text to the Pronunciations field in the Phonology tab to better guide beginners.<br>
• Added an indicator on entries in the lexicon tab to show if their pronunciation was manually edited and thus not automatically updated by pronunciation rules.<br>
<p><u>Patch 2.1.11</u></p>
<p style="width: 70%; margin: auto; text-align: left; line-height: 1.6">
• Added secondary location file saving, for those of you who want your lexicon files to save to another location on your computer every time you save. <br>
• Added database syncing! Get your account credentials from the Lexicanter Discord bot, and then you can sync your files to the bot and between devices. <br>
• A minor change to how app settings are saved. The old app settings files are now deprecated and will eventually no longer be supported. <br>
</p>
<br>
<p><u>New in 2.1.10</u></p>
<p><u>Patch 2.1.10</u></p>
<p style="width: 70%; margin: auto; text-align: left; line-height: 1.6">
• New tooltips have been added throughout the app. <br>
• New All Hallow's Eve 2023 theme in the Holiday collection! <br>
Expand Down
6 changes: 3 additions & 3 deletions src/bundle/bundle.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/bundle/bundle.js.map

Large diffs are not rendered by default.

0 comments on commit 0a25c03

Please sign in to comment.