From 9319845e977ebfdc85bcd946ffd562d5e9bbed1e Mon Sep 17 00:00:00 2001 From: Ramya krishna Date: Tue, 7 May 2024 11:20:42 +0530 Subject: [PATCH] added translations --- composer.lock | 4 ++-- package-lock.json | 1 + src/app/pages/settings/socialMediaAccounts.js | 10 ++++++++-- 3 files changed, 11 insertions(+), 4 deletions(-) diff --git a/composer.lock b/composer.lock index 731d8a696..b2a1d6e54 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "0e21031785c0c82fdefb75fd30d6a961", + "content-hash": "7a2d3643295665adc5b1f593ba46c714", "packages": [ { "name": "doctrine/inflector", @@ -4068,5 +4068,5 @@ "platform-overrides": { "php": "7.3.0" }, - "plugin-api-version": "2.6.0" + "plugin-api-version": "2.3.0" } diff --git a/package-lock.json b/package-lock.json index 74a540456..9542eb8b8 100644 --- a/package-lock.json +++ b/package-lock.json @@ -11,6 +11,7 @@ "dependencies": { "@heroicons/react": "^2.1.1", "@newfold-labs/wp-module-ecommerce": "^1.3.30", + "@newfold-labs/wp-module-facebook": "^1.0.6", "@newfold-labs/wp-module-runtime": "^1.0.10", "@newfold/ui-component-library": "^1.1.0", "@reduxjs/toolkit": "^2.1.0", diff --git a/src/app/pages/settings/socialMediaAccounts.js b/src/app/pages/settings/socialMediaAccounts.js index 381c239d0..1d99ac368 100644 --- a/src/app/pages/settings/socialMediaAccounts.js +++ b/src/app/pages/settings/socialMediaAccounts.js @@ -92,7 +92,10 @@ const SocialMediaAccounts = () => { type="text" id="nfd-simple-search" className="nfd-rounded-lg nfd-text-gray-900 nfd-border-none nfd-outline-none nfd-text-sm nfd-w-full nfd-ps-10 nfd-p-2.5 nfd-dark:placeholder-gray-400 nfd-border-transparent focus:nfd-border-transparent focus:nfd-ring-0" - placeholder="Search..." + placeholder={ __( + "Search...", + 'wp-plugin-bluehost' + ) } required onClick={ () => ( input = true ) } /> @@ -111,7 +114,10 @@ const SocialMediaAccounts = () => { > -

Facebook

+

{ __( + "Facebook", + 'wp-plugin-bluehost' + ) }