Skip to content

Commit

Permalink
Add Ukrainian translation #37
Browse files Browse the repository at this point in the history
  • Loading branch information
OlegWock committed Jun 6, 2023
1 parent 4777f9e commit 17b935d
Show file tree
Hide file tree
Showing 11 changed files with 166 additions and 156 deletions.
4 changes: 3 additions & 1 deletion src/components/Checkbox.scss
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@
&-root {
width: 20px;
height: 20px;
min-width: 20px;
min-height: 20px;
border-radius: 4px;
display: flex;
align-items: center;
Expand All @@ -39,6 +41,6 @@
display: flex;
align-items: center;
font-weight: 400;
line-height: 1;
line-height: 1.5;
}
}
2 changes: 1 addition & 1 deletion src/components/Tooltip.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@
pointer-events: none;
border-radius: 6px;
padding: 8px 18px;
font-size: 0.85rem;
font-size: 0.9rem;
z-index: 999;
}
2 changes: 1 addition & 1 deletion src/pages/newtab/settings/Settings.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,7 @@ const HelpAboutScreen = (props: ComponentProps<typeof motion.div>) => {
return (<motion.div {...props} className='HelpAboutScreen'>
<p>
<Trans t={t} i18nKey="settings.aboutHelp.p1">
<a href="https://github.com/OlegWock/anori"></a>.
<a href="https://github.com/OlegWock/anori"></a>
<a href="https://github.com/OlegWock/anori/issues/new"></a>
</Trans>
</p>
Expand Down
3 changes: 2 additions & 1 deletion src/plugins/recently-closed/recently-closed-plugin.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ const Session = ({ session, isMock }: { session: browser.Sessions.Session, isMoc

const WidgetScreen = ({ config, instanceId }: WidgetRenderProps<{}>) => {
const [sessions, setSessions] = useState<browser.Sessions.Session[]>([]);
const { t } = useTranslation();

useEffect(() => {
const load = async () => {
Expand All @@ -78,7 +79,7 @@ const WidgetScreen = ({ config, instanceId }: WidgetRenderProps<{}>) => {
}, []);

return (<div className='RecentlyClosedWidget'>
<h2>Recently closed</h2>
<h2>{t('recently-closed-plugin.widgetTitle')}</h2>
<ScrollArea className="sessions-list" darker type="hover">
{sessions.filter(s => {
const url = s.tab ? s.tab.url : '';
Expand Down
3 changes: 2 additions & 1 deletion src/translations/de.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"newTabTitle": "New tab title",
"newTabTitleHint": "We can't set icon for new page, but you can try using emoji here 😉",
"enableAnalytics": "Enable sending analytics",
"analyticsHintP1": "Analytics helps me better understand how users interact with Anori and which features are used the most. I doesn't share any private info like content of notes or URL of bookmarks.",
"analyticsHintP1": "Analytics helps me better understand how users interact with Anori and which features are used the most. It doesn't share any private info like content of notes or URL of bookmarks.",
"analyticsHintP2": "This helps me to develop better product so I ask you to enable sending analytics.",
"stealFocus": "Steal focus from addressbar",
"stealFocusHint": "If enabled, this will force browser to move focus from address bar to this page when opening new tab and you will be able to use command menu (Cmd+K) without needing to move focus to page manually (by clicking or pressing Tab).",
Expand Down Expand Up @@ -142,6 +142,7 @@
"name": "Recently closed tabs",
"widgetSizeSName": "Recently closed tabs - size S",
"widgetSizeMName": "Recently closed tabs - size M",
"widgetTitle": "Recently closed",
"tab": "Tab",
"window": "Window"
},
Expand Down
3 changes: 2 additions & 1 deletion src/translations/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"newTabTitle": "New tab title",
"newTabTitleHint": "We can't set icon for new page, but you can try using emoji here 😉",
"enableAnalytics": "Enable sending analytics",
"analyticsHintP1": "Analytics helps me better understand how users interact with Anori and which features are used the most. I doesn't share any private info like content of notes or URL of bookmarks.",
"analyticsHintP1": "Analytics helps me better understand how users interact with Anori and which features are used the most. It doesn't share any private info like content of notes or URL of bookmarks.",
"analyticsHintP2": "This helps me to develop better product so I ask you to enable sending analytics.",
"stealFocus": "Steal focus from addressbar",
"stealFocusHint": "If enabled, this will force browser to move focus from address bar to this page when opening new tab and you will be able to use command menu (Cmd+K) without needing to move focus to page manually (by clicking or pressing Tab).",
Expand Down Expand Up @@ -142,6 +142,7 @@
"name": "Recently closed tabs",
"widgetSizeSName": "Recently closed tabs - size S",
"widgetSizeMName": "Recently closed tabs - size M",
"widgetTitle": "Recently closed",
"tab": "Tab",
"window": "Window"
},
Expand Down
3 changes: 2 additions & 1 deletion src/translations/es.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"newTabTitle": "New tab title",
"newTabTitleHint": "We can't set icon for new page, but you can try using emoji here 😉",
"enableAnalytics": "Enable sending analytics",
"analyticsHintP1": "Analytics helps me better understand how users interact with Anori and which features are used the most. I doesn't share any private info like content of notes or URL of bookmarks.",
"analyticsHintP1": "Analytics helps me better understand how users interact with Anori and which features are used the most. It doesn't share any private info like content of notes or URL of bookmarks.",
"analyticsHintP2": "This helps me to develop better product so I ask you to enable sending analytics.",
"stealFocus": "Steal focus from addressbar",
"stealFocusHint": "If enabled, this will force browser to move focus from address bar to this page when opening new tab and you will be able to use command menu (Cmd+K) without needing to move focus to page manually (by clicking or pressing Tab).",
Expand Down Expand Up @@ -142,6 +142,7 @@
"name": "Recently closed tabs",
"widgetSizeSName": "Recently closed tabs - size S",
"widgetSizeMName": "Recently closed tabs - size M",
"widgetTitle": "Recently closed",
"tab": "Tab",
"window": "Window"
},
Expand Down
3 changes: 2 additions & 1 deletion src/translations/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"newTabTitle": "New tab title",
"newTabTitleHint": "We can't set icon for new page, but you can try using emoji here 😉",
"enableAnalytics": "Enable sending analytics",
"analyticsHintP1": "Analytics helps me better understand how users interact with Anori and which features are used the most. I doesn't share any private info like content of notes or URL of bookmarks.",
"analyticsHintP1": "Analytics helps me better understand how users interact with Anori and which features are used the most. It doesn't share any private info like content of notes or URL of bookmarks.",
"analyticsHintP2": "This helps me to develop better product so I ask you to enable sending analytics.",
"stealFocus": "Steal focus from addressbar",
"stealFocusHint": "If enabled, this will force browser to move focus from address bar to this page when opening new tab and you will be able to use command menu (Cmd+K) without needing to move focus to page manually (by clicking or pressing Tab).",
Expand Down Expand Up @@ -142,6 +142,7 @@
"name": "Recently closed tabs",
"widgetSizeSName": "Recently closed tabs - size S",
"widgetSizeMName": "Recently closed tabs - size M",
"widgetTitle": "Recently closed",
"tab": "Tab",
"window": "Window"
},
Expand Down
Loading

0 comments on commit 17b935d

Please sign in to comment.