mirror of
https://github.com/AmruthPillai/Reactive-Resume.git
synced 2025-11-13 08:13:49 +10:00
add Amharic language
This commit is contained in:
@ -18,6 +18,7 @@ You have complete control over what goes into your resume, how it looks, what co
|
|||||||
## Table of Contents
|
## Table of Contents
|
||||||
|
|
||||||
- [Reactive Resume](#reactive-resume)
|
- [Reactive Resume](#reactive-resume)
|
||||||
|
- [Go to App | [Docs](https://docs.rxresu.me)](#go-to-app--docs)
|
||||||
- [Table of Contents](#table-of-contents)
|
- [Table of Contents](#table-of-contents)
|
||||||
- [Features](#features)
|
- [Features](#features)
|
||||||
- [Languages](#languages)
|
- [Languages](#languages)
|
||||||
@ -26,6 +27,8 @@ You have complete control over what goes into your resume, how it looks, what co
|
|||||||
- [Contributing](#contributing)
|
- [Contributing](#contributing)
|
||||||
- [Report Bugs and Feature Requests](#report-bugs-and-feature-requests)
|
- [Report Bugs and Feature Requests](#report-bugs-and-feature-requests)
|
||||||
- [Donations](#donations)
|
- [Donations](#donations)
|
||||||
|
- [GitHub Sponsor](#github-sponsor)
|
||||||
|
- [PayPal](#paypal)
|
||||||
- [Infrastructure](#infrastructure)
|
- [Infrastructure](#infrastructure)
|
||||||
- [Contributors Wall](#contributors-wall)
|
- [Contributors Wall](#contributors-wall)
|
||||||
- [License](#license)
|
- [License](#license)
|
||||||
@ -52,6 +55,7 @@ You have complete control over what goes into your resume, how it looks, what co
|
|||||||
|
|
||||||
## Languages
|
## Languages
|
||||||
|
|
||||||
|
- Amharic (አማርኛ)
|
||||||
- Arabic (اَلْعَرَبِيَّةُ)
|
- Arabic (اَلْعَرَبِيَّةُ)
|
||||||
- Bengali (বাংলা)
|
- Bengali (বাংলা)
|
||||||
- Bulgarian (български)
|
- Bulgarian (български)
|
||||||
|
|||||||
@ -2,10 +2,12 @@ export type Language = {
|
|||||||
code: string;
|
code: string;
|
||||||
name: string;
|
name: string;
|
||||||
localName?: string;
|
localName?: string;
|
||||||
|
isRTL?: boolean;
|
||||||
};
|
};
|
||||||
|
|
||||||
export const languages: Language[] = [
|
export const languages: Language[] = [
|
||||||
{ code: 'ar', name: 'Arabic', localName: 'اَلْعَرَبِيَّةُ' },
|
{ code: 'am', name: 'Amharic', localName: 'አማርኛ' },
|
||||||
|
{ code: 'ar', name: 'Arabic', localName: 'اَلْعَرَبِيَّةُ', isRTL: true },
|
||||||
{ code: 'bg', name: 'Bulgarian', localName: 'български' },
|
{ code: 'bg', name: 'Bulgarian', localName: 'български' },
|
||||||
{ code: 'bn', name: 'Bengali', localName: 'বাংলা' },
|
{ code: 'bn', name: 'Bengali', localName: 'বাংলা' },
|
||||||
{ code: 'ca', name: 'Catalan', localName: 'Valencian' },
|
{ code: 'ca', name: 'Catalan', localName: 'Valencian' },
|
||||||
@ -15,10 +17,10 @@ export const languages: Language[] = [
|
|||||||
{ code: 'el', name: 'Greek', localName: 'Ελληνικά' },
|
{ code: 'el', name: 'Greek', localName: 'Ελληνικά' },
|
||||||
{ code: 'en', name: 'English' },
|
{ code: 'en', name: 'English' },
|
||||||
{ code: 'es', name: 'Spanish', localName: 'Español' },
|
{ code: 'es', name: 'Spanish', localName: 'Español' },
|
||||||
{ code: 'fa', name: 'Persian', localName: 'فارسی' },
|
{ code: 'fa', name: 'Persian', localName: 'فارسی', isRTL: true },
|
||||||
{ code: 'fi', name: 'Finnish', localName: 'Suomi' },
|
{ code: 'fi', name: 'Finnish', localName: 'Suomi' },
|
||||||
{ code: 'fr', name: 'French', localName: 'Français' },
|
{ code: 'fr', name: 'French', localName: 'Français' },
|
||||||
{ code: 'he', name: 'Hebrew', localName: 'Ivrit' },
|
{ code: 'he', name: 'Hebrew', localName: 'Ivrit', isRTL: true },
|
||||||
{ code: 'hi', name: 'Hindi', localName: 'हिन्दी' },
|
{ code: 'hi', name: 'Hindi', localName: 'हिन्दी' },
|
||||||
{ code: 'hu', name: 'Hungarian', localName: 'Magyar' },
|
{ code: 'hu', name: 'Hungarian', localName: 'Magyar' },
|
||||||
{ code: 'id', name: 'Indonesian', localName: 'Bahasa Indonesia' },
|
{ code: 'id', name: 'Indonesian', localName: 'Bahasa Indonesia' },
|
||||||
|
|||||||
@ -4,6 +4,7 @@ const i18nConfig = {
|
|||||||
i18n: {
|
i18n: {
|
||||||
defaultLocale: 'en',
|
defaultLocale: 'en',
|
||||||
locales: [
|
locales: [
|
||||||
|
'am',
|
||||||
'ar',
|
'ar',
|
||||||
'bg',
|
'bg',
|
||||||
'bn',
|
'bn',
|
||||||
|
|||||||
@ -4,6 +4,7 @@ import { Theme } from '@reactive-resume/schema';
|
|||||||
import get from 'lodash/get';
|
import get from 'lodash/get';
|
||||||
import isEmpty from 'lodash/isEmpty';
|
import isEmpty from 'lodash/isEmpty';
|
||||||
|
|
||||||
|
import Markdown from '@/components/shared/Markdown';
|
||||||
import { useAppSelector } from '@/store/hooks';
|
import { useAppSelector } from '@/store/hooks';
|
||||||
import DataDisplay from '@/templates/shared/DataDisplay';
|
import DataDisplay from '@/templates/shared/DataDisplay';
|
||||||
import { formatDateString } from '@/utils/date';
|
import { formatDateString } from '@/utils/date';
|
||||||
@ -23,7 +24,9 @@ const Masthead: React.FC = () => {
|
|||||||
<div className="grid flex-1 gap-1">
|
<div className="grid flex-1 gap-1">
|
||||||
<h1>{name}</h1>
|
<h1>{name}</h1>
|
||||||
<p style={{ color: theme.primary }}>{headline}</p>
|
<p style={{ color: theme.primary }}>{headline}</p>
|
||||||
<p className="opacity-75">{summary}</p>
|
<p className="opacity-75">
|
||||||
|
<Markdown>{summary}</Markdown>
|
||||||
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{photo.visible && !isEmpty(photo.url) && (
|
{photo.visible && !isEmpty(photo.url) && (
|
||||||
|
|||||||
@ -17,6 +17,7 @@ const DateWrapper: React.FC<React.PropsWithChildren<unknown>> = ({ children }) =
|
|||||||
dayjs.tz.setDefault('UTC');
|
dayjs.tz.setDefault('UTC');
|
||||||
|
|
||||||
// Locales
|
// Locales
|
||||||
|
require('dayjs/locale/am');
|
||||||
require('dayjs/locale/ar');
|
require('dayjs/locale/ar');
|
||||||
require('dayjs/locale/bg');
|
require('dayjs/locale/bg');
|
||||||
require('dayjs/locale/bn');
|
require('dayjs/locale/bn');
|
||||||
|
|||||||
Reference in New Issue
Block a user