english to french translations (#31)

english to french translations
This commit is contained in:
Owen Rees
2023-06-26 19:40:06 +02:00
committed by GitHub
6 changed files with 15 additions and 6 deletions
-2
View File
@@ -14,7 +14,6 @@ PAGES
---------------------------------------------------------------- ----------------------------------------------------------------
DESIGN CHANGES DESIGN CHANGES
//TODO test entire site for english to french translations
//TODO success and error messages into french - mailer //TODO success and error messages into french - mailer
//TODO font size on mobile screen //TODO font size on mobile screen
//TODO mobile navbar is creeping into the page by a few pixels when hidden - move it to the right a bit. It is easier to see in light mode. I cant see this on Linux //TODO mobile navbar is creeping into the page by a few pixels when hidden - move it to the right a bit. It is easier to see in light mode. I cant see this on Linux
@@ -30,4 +29,3 @@ MISC
---------------------------------------------------------------- ----------------------------------------------------------------
//TODO multi-language i18n support - https://nextjs.org/docs/app/building-your-application/routing/internationalization //TODO multi-language i18n support - https://nextjs.org/docs/app/building-your-application/routing/internationalization
//TODO move smaller ui components into a new folder, and make them reusable - such as using generic prop names //TODO move smaller ui components into a new folder, and make them reusable - such as using generic prop names
//TODO readme badges
+1 -1
View File
@@ -97,7 +97,7 @@ const ContactForm = () => {
className="py-3 px-5 text-sm font-medium text-center text-white rounded-lg bg-teal-600 sm:w-fit hover:bg-primary-800 focus:ring-4 focus:outline-none focus:ring-primary-300 dark:hover:bg-primary-700 dark:focus:ring-primary-800 dark:text-white disabled:opacity-25" className="py-3 px-5 text-sm font-medium text-center text-white rounded-lg bg-teal-600 sm:w-fit hover:bg-primary-800 focus:ring-4 focus:outline-none focus:ring-primary-300 dark:hover:bg-primary-700 dark:focus:ring-primary-800 dark:text-white disabled:opacity-25"
data-test="submit-button" data-test="submit-button"
> >
{isSending ? "Sending..." : "Send Message"} {isSending ? "Envoi en cours..." : "Envoi Message"}
</button> </button>
{infoMessage} {infoMessage}
</form> </form>
+1 -1
View File
@@ -33,7 +33,7 @@ const SearchBar = ({
type="text" type="text"
id="table-search" id="table-search"
className="bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-80 pl-10 p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500" className="bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-80 pl-10 p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500"
placeholder="Search for items" placeholder="Recherche"
value={tournamentFilter} value={tournamentFilter}
onChange={(e) => setTournamentFilter(e.target.value)} onChange={(e) => setTournamentFilter(e.target.value)}
/> />
Binary file not shown.
+11
View File
@@ -0,0 +1,11 @@
;FFMETADATA1
[CHAPTER]
TIMEBASE=1/1000
START=-5248
END=1236
title=Data fetching for map map markers is equal to table rows
[CHAPTER]
TIMEBASE=1/1000
START=6621
END=7725
title=Data fetching from API endpoints api call should equal website data count
+2 -2
View File
@@ -28,7 +28,7 @@ export const handleEmailSubmit = async (
if (response.status === 250) { if (response.status === 250) {
setResponseMessage({ setResponseMessage({
isSuccessful: true, isSuccessful: true,
message: "Thank you for your message.", message: "Merci pour votre message.",
}); });
resetForm(); resetForm();
clearMessage(); clearMessage();
@@ -38,7 +38,7 @@ export const handleEmailSubmit = async (
errorLog(error); errorLog(error);
setResponseMessage({ setResponseMessage({
isSuccessful: false, isSuccessful: false,
message: "Oops something went wrong. Please try again.", message: "Oops, quelque chose ne va pas. Veuillez réessayer SVP.",
}); });
clearMessage(); clearMessage();
setIsSending(false); setIsSending(false);