mirror of
https://github.com/actualbudget/actual.git
synced 2026-03-11 20:44:32 -05:00
Fix missing translations (#5396)
* add missing translations * add relese note * add missing translations (no note) --------- Co-authored-by: Alex <Alex>
This commit is contained in:
@@ -150,7 +150,7 @@ export function SidebarGroup({
|
||||
{ name: 'rename', text: t('Rename') },
|
||||
!group.is_income && {
|
||||
name: 'toggle-visibility',
|
||||
text: group.hidden ? 'Show' : 'Hide',
|
||||
text: group.hidden ? t('Show') : t('Hide'),
|
||||
},
|
||||
onDelete && { name: 'delete', text: t('Delete') },
|
||||
...(isGoalTemplatesEnabled
|
||||
|
||||
@@ -162,7 +162,7 @@ export function CategoryGroupMenuModal({
|
||||
}}
|
||||
>
|
||||
<Notes
|
||||
notes={notes?.length > 0 ? notes : 'No notes'}
|
||||
notes={notes?.length > 0 ? notes : t('No notes')}
|
||||
editable={false}
|
||||
focused={false}
|
||||
getStyle={() => ({
|
||||
@@ -294,7 +294,7 @@ function AdditionalCategoryGroupMenu({ group, onDelete, onToggleVisibility }) {
|
||||
[
|
||||
{
|
||||
name: 'toggleVisibility',
|
||||
text: group.hidden ? 'Show' : 'Hide',
|
||||
text: group.hidden ? t('Show') : t('Hide'),
|
||||
icon: group.hidden ? SvgViewShow : SvgViewHide,
|
||||
iconSize: 16,
|
||||
},
|
||||
@@ -302,7 +302,7 @@ function AdditionalCategoryGroupMenu({ group, onDelete, onToggleVisibility }) {
|
||||
Menu.line,
|
||||
{
|
||||
name: 'delete',
|
||||
text: 'Delete',
|
||||
text: t('Delete'),
|
||||
icon: SvgTrash,
|
||||
iconSize: 15,
|
||||
},
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
import React, { createRef, useRef, useState } from 'react';
|
||||
import { Trans } from 'react-i18next';
|
||||
|
||||
import { Button } from '@actual-app/components/button';
|
||||
import { SvgExpandArrow } from '@actual-app/components/icons/v0';
|
||||
@@ -199,7 +200,7 @@ export function SaveReport({
|
||||
flexShrink: 0,
|
||||
}}
|
||||
>
|
||||
{!report.id ? 'Unsaved report' : report.name}
|
||||
{!report.id ? <Trans>Unsaved report</Trans> : report.name}
|
||||
</Text>
|
||||
{savedStatus === 'modified' && <Text>(modified) </Text>}
|
||||
<SvgExpandArrow width={8} height={8} style={{ marginRight: 5 }} />
|
||||
|
||||
6
upcoming-release-notes/5396.md
Normal file
6
upcoming-release-notes/5396.md
Normal file
@@ -0,0 +1,6 @@
|
||||
---
|
||||
category: Bugfix
|
||||
authors: [milanalexandre]
|
||||
---
|
||||
|
||||
add missing translations for UI texts (Show, Hide, Delete, Unsaved report)
|
||||
Reference in New Issue
Block a user