Skip to content

Commit

Permalink
EN_US locale patch.
Browse files Browse the repository at this point in the history
  • Loading branch information
snaildos committed Sep 24, 2021
1 parent cb90ac1 commit 8ca52e3
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
14 changes: 7 additions & 7 deletions src/renderer/views/history/components/App/index.tsx
Expand Up @@ -96,25 +96,25 @@ export default observer(() => {
<Container>
<WebUIStyle />
<GlobalNavigationDrawer></GlobalNavigationDrawer>
<NavigationDrawer title="Historial" search onSearchInput={onInput}>
<NavigationDrawer title="Search History" search onSearchInput={onInput}>
<RangeItem icon={ICON_ALL} range="all">
Todo
All
</RangeItem>
<RangeItem icon={ICON_TODAY} range="today">
Hoy
Today
</RangeItem>
<RangeItem icon={ICON_HISTORY} range="yesterday">
Ayer
Yesturday
</RangeItem>
<RangeItem icon={ICON_WEEK} range="last-week">
Semana pasada
Last Week
</RangeItem>
<RangeItem icon={ICON_CALENDAR} range="older">
Mas antiguo
Older
</RangeItem>
<div style={{ flex: 1 }} />
<NavigationDrawer.Item icon={ICON_TRASH} onClick={onClearClick}>
Eliminar historial
Clear all history!
</NavigationDrawer.Item>
</NavigationDrawer>
<Content onScroll={onScroll}>
Expand Down
4 changes: 2 additions & 2 deletions src/renderer/views/history/utils/index.ts
Expand Up @@ -19,9 +19,9 @@ export const getSectionLabel = (date: Date) => {
date.getMonth() === current.getMonth()
) {
if (current.getDate() === date.getDate()) {
prefix = 'Hoy - ';
prefix = 'Today - ';
} else if (current.getDate() - 1 === date.getDate()) {
prefix = 'Ayer - ';
prefix = 'Yesturday - ';
}
}

Expand Down

0 comments on commit 8ca52e3

Please sign in to comment.