mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2025-01-29 18:52:22 +01:00
(i18n) Add missing translations
This commit is contained in:
parent
3ffa7c1cea
commit
6aaabe5b05
@ -191,7 +191,7 @@ const StoreCart: React.FC<StoreCartProps> = ({ onSuccess, onError, currentUser,
|
||||
{isPrivileged() &&
|
||||
<div className='offer'>
|
||||
<label>
|
||||
<span>Offer the product</span>
|
||||
<span>{t('app.public.store_cart.offer_product')}</span>
|
||||
<Switch
|
||||
checked={item.is_offered}
|
||||
onChange={toggleProductOffer(item)}
|
||||
|
@ -47,7 +47,7 @@ export const ManageProductCategory: React.FC<ManageProductCategoryProps> = ({ pr
|
||||
case 'create':
|
||||
return (
|
||||
<FabButton type='button'
|
||||
className="create-button"
|
||||
className="main-action-btn"
|
||||
onClick={toggleModal}>
|
||||
{t('app.admin.store.manage_product_category.create')}
|
||||
</FabButton>
|
||||
|
@ -5,7 +5,6 @@ import ProductCategoryAPI from '../../../api/product-category';
|
||||
import { ManageProductCategory } from './manage-product-category';
|
||||
import { ProductCategoriesTree } from './product-categories-tree';
|
||||
import { FabAlert } from '../../base/fab-alert';
|
||||
import { FabButton } from '../../base/fab-button';
|
||||
import { HtmlTranslate } from '../../base/html-translate';
|
||||
import { IApplication } from '../../../models/application';
|
||||
import { Loader } from '../../base/loader';
|
||||
@ -67,13 +66,6 @@ const ProductCategories: React.FC<ProductCategoriesProps> = ({ onSuccess, onErro
|
||||
}).catch((error) => onError(error));
|
||||
};
|
||||
|
||||
/**
|
||||
* tmp: check list
|
||||
*/
|
||||
const handleSave = () => {
|
||||
console.log('save order:', productCategories);
|
||||
};
|
||||
|
||||
return (
|
||||
<div className='product-categories'>
|
||||
<header>
|
||||
@ -82,7 +74,6 @@ const ProductCategories: React.FC<ProductCategoriesProps> = ({ onSuccess, onErro
|
||||
<ManageProductCategory action='create'
|
||||
productCategories={productCategories}
|
||||
onSuccess={handleSuccess} onError={onError} />
|
||||
<FabButton className='main-action-btn' onClick={handleSave}>[log]</FabButton>
|
||||
</div>
|
||||
</header>
|
||||
<FabAlert level="warning">
|
||||
|
@ -8,16 +8,6 @@
|
||||
header {
|
||||
@include header();
|
||||
grid-column: 2 / -2;
|
||||
|
||||
.create-button {
|
||||
background-color: var(--gray-hard-darkest);
|
||||
border-color: var(--gray-hard-darkest);
|
||||
color: var(--gray-soft-lightest);
|
||||
&:hover {
|
||||
background-color: var(--gray-hard-light);
|
||||
border-color: var(--gray-hard-light);
|
||||
}
|
||||
}
|
||||
}
|
||||
.fab-alert {
|
||||
grid-column: 2 / -2;
|
||||
|
@ -1907,7 +1907,7 @@ de:
|
||||
back_to_list: "Back to list"
|
||||
product_categories:
|
||||
title: "Categories"
|
||||
info: "<strong>Information:</strong></br>Find below all the categories created. The categories are arranged on two levels maximum, you can arrange them with a drag and drop. The order of the categories will be identical on the public view and the list below. Please note that you can delete a category or a sub-category even if they are associated with products. The latter will be left without categories. If you delete a category that contains sub-categories, the latter will also be deleted. <strong>Make sure that your categories are well arranged and save your choice.</strong>"
|
||||
info: "<strong>Information:</strong></br>Find below all the categories created. The categories are arranged on two levels maximum, you can arrange them with a drag and drop. The order of the categories will be identical on the public view and the list below. Please note that you can delete a category or a sub-category even if they are associated with products. The latter will be left without categories. If you delete a category that contains sub-categories, the latter will also be deleted."
|
||||
manage_product_category:
|
||||
create: "Create a product category"
|
||||
update: "Modify the product category"
|
||||
|
@ -1907,7 +1907,7 @@ en:
|
||||
back_to_list: "Back to list"
|
||||
product_categories:
|
||||
title: "Categories"
|
||||
info: "<strong>Information:</strong></br>Find below all the categories created. The categories are arranged on two levels maximum, you can arrange them with a drag and drop. The order of the categories will be identical on the public view and the list below. Please note that you can delete a category or a sub-category even if they are associated with products. The latter will be left without categories. If you delete a category that contains sub-categories, the latter will also be deleted. <strong>Make sure that your categories are well arranged and save your choice.</strong>"
|
||||
info: "<strong>Information:</strong></br>Find below all the categories created. The categories are arranged on two levels maximum, you can arrange them with a drag and drop. The order of the categories will be identical on the public view and the list below. Please note that you can delete a category or a sub-category even if they are associated with products. The latter will be left without categories. If you delete a category that contains sub-categories, the latter will also be deleted."
|
||||
manage_product_category:
|
||||
create: "Create a product category"
|
||||
update: "Modify the product category"
|
||||
|
@ -1907,7 +1907,7 @@ es:
|
||||
back_to_list: "Back to list"
|
||||
product_categories:
|
||||
title: "Categories"
|
||||
info: "<strong>Information:</strong></br>Find below all the categories created. The categories are arranged on two levels maximum, you can arrange them with a drag and drop. The order of the categories will be identical on the public view and the list below. Please note that you can delete a category or a sub-category even if they are associated with products. The latter will be left without categories. If you delete a category that contains sub-categories, the latter will also be deleted. <strong>Make sure that your categories are well arranged and save your choice.</strong>"
|
||||
info: "<strong>Information:</strong></br>Find below all the categories created. The categories are arranged on two levels maximum, you can arrange them with a drag and drop. The order of the categories will be identical on the public view and the list below. Please note that you can delete a category or a sub-category even if they are associated with products. The latter will be left without categories. If you delete a category that contains sub-categories, the latter will also be deleted."
|
||||
manage_product_category:
|
||||
create: "Create a product category"
|
||||
update: "Modify the product category"
|
||||
|
@ -1907,7 +1907,7 @@ fr:
|
||||
back_to_list: "Retour à la liste"
|
||||
product_categories:
|
||||
title: "Catégories"
|
||||
info: "<strong>Informations :</strong></br>Trouvez ci-dessous toutes les catégories créées. Les catégories sont disposées sur deux niveaux maximum, vous pouvez les organiser avec un glisser-déposer. L'ordre des catégories sera identique dans la vue publique et dans la liste ci-dessous. Veuillez noter que vous pouvez supprimer une catégorie ou une sous-catégorie même si elles sont associées à des produits. Ces derniers seront laissés sans catégorie. Si vous supprimez une catégorie qui contient des sous-catégories, celles-ci seront également supprimées. <strong>Assurez-vous que vos catégories sont bien classées et sauvegardez votre choix.</strong>"
|
||||
info: "<strong>Informations :</strong></br>Trouvez ci-dessous toutes les catégories créées. Les catégories sont disposées sur deux niveaux maximum, vous pouvez les organiser avec un glisser-déposer. L'ordre des catégories sera identique dans la vue publique et dans la liste ci-dessous. Veuillez noter que vous pouvez supprimer une catégorie ou une sous-catégorie même si elles sont associées à des produits. Ces derniers seront laissés sans catégorie. Si vous supprimez une catégorie qui contient des sous-catégories, celles-ci seront également supprimées."
|
||||
manage_product_category:
|
||||
create: "Créer une catégorie de produit"
|
||||
update: "Modifier la catégorie de produit"
|
||||
|
@ -1907,7 +1907,7 @@
|
||||
back_to_list: "Back to list"
|
||||
product_categories:
|
||||
title: "Categories"
|
||||
info: "<strong>Information:</strong></br>Find below all the categories created. The categories are arranged on two levels maximum, you can arrange them with a drag and drop. The order of the categories will be identical on the public view and the list below. Please note that you can delete a category or a sub-category even if they are associated with products. The latter will be left without categories. If you delete a category that contains sub-categories, the latter will also be deleted. <strong>Make sure that your categories are well arranged and save your choice.</strong>"
|
||||
info: "<strong>Information:</strong></br>Find below all the categories created. The categories are arranged on two levels maximum, you can arrange them with a drag and drop. The order of the categories will be identical on the public view and the list below. Please note that you can delete a category or a sub-category even if they are associated with products. The latter will be left without categories. If you delete a category that contains sub-categories, the latter will also be deleted."
|
||||
manage_product_category:
|
||||
create: "Create a product category"
|
||||
update: "Modify the product category"
|
||||
|
@ -1907,7 +1907,7 @@ pt:
|
||||
back_to_list: "Back to list"
|
||||
product_categories:
|
||||
title: "Categories"
|
||||
info: "<strong>Information:</strong></br>Find below all the categories created. The categories are arranged on two levels maximum, you can arrange them with a drag and drop. The order of the categories will be identical on the public view and the list below. Please note that you can delete a category or a sub-category even if they are associated with products. The latter will be left without categories. If you delete a category that contains sub-categories, the latter will also be deleted. <strong>Make sure that your categories are well arranged and save your choice.</strong>"
|
||||
info: "<strong>Information:</strong></br>Find below all the categories created. The categories are arranged on two levels maximum, you can arrange them with a drag and drop. The order of the categories will be identical on the public view and the list below. Please note that you can delete a category or a sub-category even if they are associated with products. The latter will be left without categories. If you delete a category that contains sub-categories, the latter will also be deleted."
|
||||
manage_product_category:
|
||||
create: "Create a product category"
|
||||
update: "Modify the product category"
|
||||
|
@ -1907,7 +1907,7 @@ zu:
|
||||
back_to_list: "crwdns30000:0crwdne30000:0"
|
||||
product_categories:
|
||||
title: "crwdns30002:0crwdne30002:0"
|
||||
info: "crwdns30004:0crwdne30004:0"
|
||||
info: "crwdns30638:0crwdne30638:0"
|
||||
manage_product_category:
|
||||
create: "crwdns30006:0crwdne30006:0"
|
||||
update: "crwdns30008:0crwdne30008:0"
|
||||
|
@ -425,6 +425,7 @@ de:
|
||||
stock_limit: "You have reached the current stock limit"
|
||||
unit: "Unit"
|
||||
total: "Total"
|
||||
offer_product: "Offer the product"
|
||||
checkout_header: "Total amount for your cart"
|
||||
checkout_products_COUNT: "Your cart contains {COUNT} {COUNT, plural, =1{product} other{products}}"
|
||||
checkout_products_total: "Products total"
|
||||
@ -433,6 +434,11 @@ de:
|
||||
checkout_total: "Cart total"
|
||||
checkout_error: "An unexpected error occurred. Please contact the administrator."
|
||||
checkout_success: "Purchase confirmed. Thanks!"
|
||||
orders_dashboard:
|
||||
heading: "My orders"
|
||||
sort:
|
||||
newest: "Newest first"
|
||||
oldest: "Oldest first"
|
||||
member_select:
|
||||
select_a_member: "Select a member"
|
||||
start_typing: "Start typing..."
|
||||
|
@ -425,6 +425,7 @@ en:
|
||||
stock_limit: "You have reached the current stock limit"
|
||||
unit: "Unit"
|
||||
total: "Total"
|
||||
offer_product: "Offer the product"
|
||||
checkout_header: "Total amount for your cart"
|
||||
checkout_products_COUNT: "Your cart contains {COUNT} {COUNT, plural, =1{product} other{products}}"
|
||||
checkout_products_total: "Products total"
|
||||
@ -433,6 +434,11 @@ en:
|
||||
checkout_total: "Cart total"
|
||||
checkout_error: "An unexpected error occurred. Please contact the administrator."
|
||||
checkout_success: "Purchase confirmed. Thanks!"
|
||||
orders_dashboard:
|
||||
heading: "My orders"
|
||||
sort:
|
||||
newest: "Newest first"
|
||||
oldest: "Oldest first"
|
||||
member_select:
|
||||
select_a_member: "Select a member"
|
||||
start_typing: "Start typing..."
|
||||
|
@ -425,6 +425,7 @@ es:
|
||||
stock_limit: "You have reached the current stock limit"
|
||||
unit: "Unit"
|
||||
total: "Total"
|
||||
offer_product: "Offer the product"
|
||||
checkout_header: "Total amount for your cart"
|
||||
checkout_products_COUNT: "Your cart contains {COUNT} {COUNT, plural, =1{product} other{products}}"
|
||||
checkout_products_total: "Products total"
|
||||
@ -433,6 +434,11 @@ es:
|
||||
checkout_total: "Cart total"
|
||||
checkout_error: "An unexpected error occurred. Please contact the administrator."
|
||||
checkout_success: "Purchase confirmed. Thanks!"
|
||||
orders_dashboard:
|
||||
heading: "My orders"
|
||||
sort:
|
||||
newest: "Newest first"
|
||||
oldest: "Oldest first"
|
||||
member_select:
|
||||
select_a_member: "Select a member"
|
||||
start_typing: "Start typing..."
|
||||
|
@ -425,6 +425,7 @@ fr:
|
||||
stock_limit: "Vous avez atteint la limite actuelle de stock"
|
||||
unit: "Unité"
|
||||
total: "Total"
|
||||
offer_product: "Offrir le produit"
|
||||
checkout_header: "Montant total pour votre panier"
|
||||
checkout_products_COUNT: "Votre panier contient {COUNT} {COUNT, plural, one {}=1{produit} other{produits}}"
|
||||
checkout_products_total: "Total des produits"
|
||||
@ -433,6 +434,11 @@ fr:
|
||||
checkout_total: "Total du panier"
|
||||
checkout_error: "Une erreur inattendue s'est produite. Veuillez contacter l'administrateur."
|
||||
checkout_success: "Achat confirmé. Merci !"
|
||||
orders_dashboard:
|
||||
heading: "Mes commandes"
|
||||
sort:
|
||||
newest: "Plus récente en premier"
|
||||
oldest: "Plus ancienne en premier"
|
||||
member_select:
|
||||
select_a_member: "Sélectionnez un membre"
|
||||
start_typing: "Commencez à écrire..."
|
||||
|
@ -425,6 +425,7 @@
|
||||
stock_limit: "You have reached the current stock limit"
|
||||
unit: "Unit"
|
||||
total: "Total"
|
||||
offer_product: "Offer the product"
|
||||
checkout_header: "Total amount for your cart"
|
||||
checkout_products_COUNT: "Your cart contains {COUNT} {COUNT, plural, =1{product} other{products}}"
|
||||
checkout_products_total: "Products total"
|
||||
@ -433,6 +434,11 @@
|
||||
checkout_total: "Cart total"
|
||||
checkout_error: "An unexpected error occurred. Please contact the administrator."
|
||||
checkout_success: "Purchase confirmed. Thanks!"
|
||||
orders_dashboard:
|
||||
heading: "My orders"
|
||||
sort:
|
||||
newest: "Newest first"
|
||||
oldest: "Oldest first"
|
||||
member_select:
|
||||
select_a_member: "Select a member"
|
||||
start_typing: "Start typing..."
|
||||
|
@ -425,6 +425,7 @@ pt:
|
||||
stock_limit: "You have reached the current stock limit"
|
||||
unit: "Unit"
|
||||
total: "Total"
|
||||
offer_product: "Offer the product"
|
||||
checkout_header: "Total amount for your cart"
|
||||
checkout_products_COUNT: "Your cart contains {COUNT} {COUNT, plural, =1{product} other{products}}"
|
||||
checkout_products_total: "Products total"
|
||||
@ -433,6 +434,11 @@ pt:
|
||||
checkout_total: "Cart total"
|
||||
checkout_error: "An unexpected error occurred. Please contact the administrator."
|
||||
checkout_success: "Purchase confirmed. Thanks!"
|
||||
orders_dashboard:
|
||||
heading: "My orders"
|
||||
sort:
|
||||
newest: "Newest first"
|
||||
oldest: "Oldest first"
|
||||
member_select:
|
||||
select_a_member: "Select a member"
|
||||
start_typing: "Start typing..."
|
||||
|
@ -425,6 +425,7 @@ zu:
|
||||
stock_limit: "crwdns30390:0crwdne30390:0"
|
||||
unit: "crwdns30392:0crwdne30392:0"
|
||||
total: "crwdns30394:0crwdne30394:0"
|
||||
offer_product: "crwdns30640:0crwdne30640:0"
|
||||
checkout_header: "crwdns30396:0crwdne30396:0"
|
||||
checkout_products_COUNT: "crwdns30398:0COUNT={COUNT}crwdnd30398:0COUNT={COUNT}crwdne30398:0"
|
||||
checkout_products_total: "crwdns30400:0crwdne30400:0"
|
||||
@ -433,6 +434,11 @@ zu:
|
||||
checkout_total: "crwdns30406:0crwdne30406:0"
|
||||
checkout_error: "crwdns30408:0crwdne30408:0"
|
||||
checkout_success: "crwdns30410:0crwdne30410:0"
|
||||
orders_dashboard:
|
||||
heading: "crwdns30642:0crwdne30642:0"
|
||||
sort:
|
||||
newest: "crwdns30644:0crwdne30644:0"
|
||||
oldest: "crwdns30646:0crwdne30646:0"
|
||||
member_select:
|
||||
select_a_member: "crwdns30412:0crwdne30412:0"
|
||||
start_typing: "crwdns30414:0crwdne30414:0"
|
||||
|
@ -564,7 +564,7 @@ fr:
|
||||
order_item:
|
||||
total: "Total"
|
||||
client: "Client"
|
||||
created_at: "Création d'une commande"
|
||||
created_at: "Date de création"
|
||||
last_update: "Dernière mise à jour"
|
||||
state:
|
||||
cart: 'Panier'
|
||||
|
Loading…
x
Reference in New Issue
Block a user