New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

ra-language-farsi

Package Overview
Dependencies
Maintainers
0
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ra-language-farsi - npm Package Compare versions

Comparing version 5.0.0 to 5.1.0

36

esm/index.js

@@ -33,5 +33,5 @@ var farsiMessages = {

close: 'ببند',
open_menu: 'باز کردن منو',
close_menu: 'بستن منو',
update: 'بروز‌رسانی',
open_menu: 'باز کردن منو',
move_up: 'بالا بردن',

@@ -60,2 +60,4 @@ move_down: 'پایین آوردن',

invite: 'آیا میخواهید یک مورد اضافه کنید؟',
access_denied: 'دسترسی رد شد',
authentication_error: 'خطای احراز هویت',
},

@@ -87,5 +89,5 @@ input: {

bulk_delete_title: 'حذف %{name} |||| حذف %{smart_count} عدد از آیتم‌های %{name}',
clear_array_input: 'آیا از حذف همه‌ی مقادیر اطمینان دارید؟',
bulk_update_content: 'آیا از بروز‌رسانی %{name} اطمینان ذارید؟ |||| آیا از بروز‌رسانی %{smart_count} عدد از آیتم‌ها اطمینان دارید؟',
bulk_update_title: 'بروز‌رسانی %{name} |||| بروز‌رسانی %{smart_count} %{name}',
clear_array_input: 'آیا از حذف همه‌ی مقادیر اطمینان دارید؟',
delete_content: 'آیا از حذف این آیتم اطمینان دارید؟',

@@ -101,4 +103,8 @@ delete_title: 'حذف %{name} #%{id}',

unsaved_changes: 'تغییرات شما ذخیره نشده اند. آیا مطمئن هستید که می خواهید از آنها چشم پوشی کنید؟',
access_denied: 'شما مجوزهای مناسب برای دسترسی به این صفحه را ندارید',
authentication_error: 'سرور احراز هویت خطایی را برگرداند و اعتبار شما قابل بررسی نیست.',
},
navigation: {
clear_filters: 'پاکسازی فیلترها',
no_filtered_results: 'هیچ %{name} با استفاده از فیلترهای فعلی یافت نشد.',
no_results: 'نتیجه‌ای پیدا نشد',

@@ -158,2 +164,3 @@ no_more_results: 'شماره صفحه‌ی %{page} خارج از محدوده مجاز است. صفحه قبل را امتحان کنید.',

regex: 'باید با فرمت خاصی هماهنگ باشد (regexp): %{pattern}',
unique: 'باید منحصر به فرد باشد',
},

@@ -171,4 +178,29 @@ saved_queries: {

},
configurable: {
customize: 'سفارشی‌سازی',
configureMode: 'این صفحه را پیکربندی کنید',
inspector: {
title: 'بازرس',
content: 'عناصر رابط کاربری برنامه را نگه دارید تا آنها را پیکربندی کنید',
reset: 'بازنشانی تنظیمات',
hideAll: 'پنهان همه',
showAll: 'نمایش همه',
},
Datagrid: {
title: 'شبکه داده',
unlabeled: 'ستون بدون برچسب #%{column}',
},
SimpleForm: {
title: 'فرم',
unlabeled: 'ورودی بدون برچسب #%{input}',
},
SimpleList: {
title: 'فهرست',
primaryText: 'متن اولیه',
secondaryText: 'متن ثانویه',
tertiaryText: 'متن سوم',
},
},
},
};
export default farsiMessages;

@@ -35,5 +35,5 @@ "use strict";

close: 'ببند',
open_menu: 'باز کردن منو',
close_menu: 'بستن منو',
update: 'بروز‌رسانی',
open_menu: 'باز کردن منو',
move_up: 'بالا بردن',

@@ -62,2 +62,4 @@ move_down: 'پایین آوردن',

invite: 'آیا میخواهید یک مورد اضافه کنید؟',
access_denied: 'دسترسی رد شد',
authentication_error: 'خطای احراز هویت',
},

@@ -89,5 +91,5 @@ input: {

bulk_delete_title: 'حذف %{name} |||| حذف %{smart_count} عدد از آیتم‌های %{name}',
clear_array_input: 'آیا از حذف همه‌ی مقادیر اطمینان دارید؟',
bulk_update_content: 'آیا از بروز‌رسانی %{name} اطمینان ذارید؟ |||| آیا از بروز‌رسانی %{smart_count} عدد از آیتم‌ها اطمینان دارید؟',
bulk_update_title: 'بروز‌رسانی %{name} |||| بروز‌رسانی %{smart_count} %{name}',
clear_array_input: 'آیا از حذف همه‌ی مقادیر اطمینان دارید؟',
delete_content: 'آیا از حذف این آیتم اطمینان دارید؟',

@@ -103,4 +105,8 @@ delete_title: 'حذف %{name} #%{id}',

unsaved_changes: 'تغییرات شما ذخیره نشده اند. آیا مطمئن هستید که می خواهید از آنها چشم پوشی کنید؟',
access_denied: 'شما مجوزهای مناسب برای دسترسی به این صفحه را ندارید',
authentication_error: 'سرور احراز هویت خطایی را برگرداند و اعتبار شما قابل بررسی نیست.',
},
navigation: {
clear_filters: 'پاکسازی فیلترها',
no_filtered_results: 'هیچ %{name} با استفاده از فیلترهای فعلی یافت نشد.',
no_results: 'نتیجه‌ای پیدا نشد',

@@ -160,2 +166,3 @@ no_more_results: 'شماره صفحه‌ی %{page} خارج از محدوده مجاز است. صفحه قبل را امتحان کنید.',

regex: 'باید با فرمت خاصی هماهنگ باشد (regexp): %{pattern}',
unique: 'باید منحصر به فرد باشد',
},

@@ -173,4 +180,29 @@ saved_queries: {

},
configurable: {
customize: 'سفارشی‌سازی',
configureMode: 'این صفحه را پیکربندی کنید',
inspector: {
title: 'بازرس',
content: 'عناصر رابط کاربری برنامه را نگه دارید تا آنها را پیکربندی کنید',
reset: 'بازنشانی تنظیمات',
hideAll: 'پنهان همه',
showAll: 'نمایش همه',
},
Datagrid: {
title: 'شبکه داده',
unlabeled: 'ستون بدون برچسب #%{column}',
},
SimpleForm: {
title: 'فرم',
unlabeled: 'ورودی بدون برچسب #%{input}',
},
SimpleList: {
title: 'فهرست',
primaryText: 'متن اولیه',
secondaryText: 'متن ثانویه',
tertiaryText: 'متن سوم',
},
},
},
};
exports.default = farsiMessages;

2

package.json
{
"name": "ra-language-farsi",
"version": "5.0.0",
"version": "5.1.0",
"description": "Farsi translations for React-Admin, the frontend framework for building admin applications on top of REST/GraphQL services.",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

@@ -64,23 +64,30 @@ # Farsi Translations for React-Admin

2. Define a theme and set `direction` to `rtl`. Also defining an RTL theme might be not enough to flip all React Admin components. So we use [**jss-rtl**](https://github.com/alitaheri/jss-rtl) plugin to make sure everything works properly.
2. Change the theme direction ([MUI theme direction](https://mui.com/material-ui/customization/right-to-left/#2-set-the-theme-direction))
```javascript
import { defaultTheme } from "react-admin";
import { deepmerge } from "@mui/utils";
const theme = deepmerge(defaultTheme, { direction: "rtl" });
```
3. Configure RTL style plugin ([MUI doc](https://mui.com/material-ui/customization/right-to-left/#3-configure-rtl-style-plugin))
```javascript
import { createTheme } from '@material-ui/core/styles';
import {create} from 'jss';
import rtl from 'jss-rtl';
import {StylesProvider, jssPreset} from '@material-ui/core/styles';
import { CacheProvider } from "@emotion/react";
import createCache from "@emotion/cache";
import { prefixer } from "stylis";
import rtlPlugin from "stylis-plugin-rtl";
// Configure JSS
const jss = create({plugins: [...jssPreset().plugins, rtl()]});
const theme = createTheme({
direction: 'rtl',
// Configure cache
const cacheRtl = createCache({
key: "muirtl",
stylisPlugins: [prefixer, rtlPlugin],
});
const App = () => (
<StylesProvider jss={jss}>
<CacheProvider value={cacheRtl}>
<Admin theme={theme}>
// ...
</Admin>
</StylesProvider>
</CacheProvider>
);

@@ -87,0 +94,0 @@ ```

@@ -36,5 +36,5 @@ import type { TranslationMessages } from 'ra-core';

close: 'ببند',
open_menu: 'باز کردن منو',
close_menu: 'بستن منو',
update: 'بروز‌رسانی',
open_menu: 'باز کردن منو',
move_up: 'بالا بردن',

@@ -63,2 +63,4 @@ move_down: 'پایین آوردن',

invite: 'آیا میخواهید یک مورد اضافه کنید؟',
access_denied: 'دسترسی رد شد',
authentication_error: 'خطای احراز هویت',
},

@@ -96,3 +98,2 @@ input: {

'حذف %{name} |||| حذف %{smart_count} عدد از آیتم‌های %{name}',
clear_array_input: 'آیا از حذف همه‌ی مقادیر اطمینان دارید؟',
bulk_update_content:

@@ -102,2 +103,3 @@ 'آیا از بروز‌رسانی %{name} اطمینان ذارید؟ |||| آیا از بروز‌رسانی %{smart_count} عدد از آیتم‌ها اطمینان دارید؟',

'بروز‌رسانی %{name} |||| بروز‌رسانی %{smart_count} %{name}',
clear_array_input: 'آیا از حذف همه‌ی مقادیر اطمینان دارید؟',
delete_content: 'آیا از حذف این آیتم اطمینان دارید؟',

@@ -115,4 +117,9 @@ delete_title: 'حذف %{name} #%{id}',

'تغییرات شما ذخیره نشده اند. آیا مطمئن هستید که می خواهید از آنها چشم پوشی کنید؟',
access_denied: 'شما مجوزهای مناسب برای دسترسی به این صفحه را ندارید',
authentication_error:
'سرور احراز هویت خطایی را برگرداند و اعتبار شما قابل بررسی نیست.',
},
navigation: {
clear_filters: 'پاکسازی فیلترها',
no_filtered_results: 'هیچ %{name} با استفاده از فیلترهای فعلی یافت نشد.',
no_results: 'نتیجه‌ای پیدا نشد',

@@ -174,2 +181,3 @@ no_more_results:

regex: 'باید با فرمت خاصی هماهنگ باشد (regexp): %{pattern}',
unique: 'باید منحصر به فرد باشد',
},

@@ -188,2 +196,28 @@ saved_queries: {

},
configurable: {
customize: 'سفارشی‌سازی',
configureMode: 'این صفحه را پیکربندی کنید',
inspector: {
title: 'بازرس',
content:
'عناصر رابط کاربری برنامه را نگه دارید تا آنها را پیکربندی کنید',
reset: 'بازنشانی تنظیمات',
hideAll: 'پنهان همه',
showAll: 'نمایش همه',
},
Datagrid: {
title: 'شبکه داده',
unlabeled: 'ستون بدون برچسب #%{column}',
},
SimpleForm: {
title: 'فرم',
unlabeled: 'ورودی بدون برچسب #%{input}',
},
SimpleList: {
title: 'فهرست',
primaryText: 'متن اولیه',
secondaryText: 'متن ثانویه',
tertiaryText: 'متن سوم',
},
},
},

@@ -190,0 +224,0 @@ };

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc