From 5471bf6b0e8b3c353b019904f8b7ca5b755863e1 Mon Sep 17 00:00:00 2001 From: Davide Presti <94308234+davevad93@users.noreply.github.com> Date: Fri, 29 Nov 2024 15:23:27 +0100 Subject: [PATCH] General fixes and improvements --- myproject/locale/de/LC_MESSAGES/django.mo | Bin 1827 -> 0 bytes myproject/locale/de/LC_MESSAGES/django.po | 166 --------------------- myproject/locale/es/LC_MESSAGES/django.mo | Bin 1849 -> 0 bytes myproject/locale/es/LC_MESSAGES/django.po | 167 ---------------------- myproject/locale/fr/LC_MESSAGES/django.mo | Bin 1850 -> 0 bytes myproject/locale/fr/LC_MESSAGES/django.po | 166 --------------------- myproject/locale/it/LC_MESSAGES/django.mo | Bin 1820 -> 0 bytes myproject/locale/it/LC_MESSAGES/django.po | 166 --------------------- myproject/locale/pt/LC_MESSAGES/django.mo | Bin 1827 -> 0 bytes myproject/locale/pt/LC_MESSAGES/django.po | 166 --------------------- myproject/myapp/templates/countries.html | 70 ++++----- myproject/myapp/templates/index.html | 27 +--- myproject/myproject/settings.py | 16 --- 13 files changed, 38 insertions(+), 906 deletions(-) delete mode 100644 myproject/locale/de/LC_MESSAGES/django.mo delete mode 100644 myproject/locale/de/LC_MESSAGES/django.po delete mode 100644 myproject/locale/es/LC_MESSAGES/django.mo delete mode 100644 myproject/locale/es/LC_MESSAGES/django.po delete mode 100644 myproject/locale/fr/LC_MESSAGES/django.mo delete mode 100644 myproject/locale/fr/LC_MESSAGES/django.po delete mode 100644 myproject/locale/it/LC_MESSAGES/django.mo delete mode 100644 myproject/locale/it/LC_MESSAGES/django.po delete mode 100644 myproject/locale/pt/LC_MESSAGES/django.mo delete mode 100644 myproject/locale/pt/LC_MESSAGES/django.po diff --git a/myproject/locale/de/LC_MESSAGES/django.mo b/myproject/locale/de/LC_MESSAGES/django.mo deleted file mode 100644 index 9c646822c7b4e2ec2fdf561054d10b2d2be8e375..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1827 zcmZ{jO>7%Q6vqcBU#5JO0)+w{6se*u>oi3|!D*_llg)?XFWF8ba$B#TovFt&*6eK3 zL~ur&KuDE1fH)91Adu(7sST}l?z7>J@S9{mPkm9Jo}qj&%F1aH~;LIe*UiJ9t0d z|B>@Aa0>Ik!Kc6z2*z=yLC!M^a-K{1`v`m*^BVX#*aPts*YJ1(d;{e8?}7#JeUSHm zobxk~*WCag2EPMY?~gfu1s}uwPw+H&8!V#+r*Ih7)4_w|ZGn6~3$k7ha-26o&i@vO zpLi#qU(fkr&QHKu{Qm`b4!i|&oMQ;i`%i+LXDXkc1^GTMfPDTs$oc#Edkymbx51;} zdmw(|BRmjVd8(r=#23Ya&5U=7QfYhRbsN^{u2{&NBa`fk$ar!h%A6gMsKln9 z#eEEv8E}x{u3T1rCF{r$UKd3*?vmV5eoHQ1#adewwdqjQtaOxS+NZLIblqaHDC!Bt z2ErS5l!mN{z+G?+F%TPbK+!6gGouJy;CoO1)HFJ-1n}MTJV7 z`k?J%lj6MAmE_WTr6Ox#HIf&jYPedt94;DV{GZSX`Syy4?}Qu6cb?WJJ$a2?C)kqaV| z*se1DlAP@*Uufve#X4BBZkU#&8I7mu{DnC=8P30Ccvdo5ZFN3H1$`~?5Q90N*_yi<(+`KKsNp!8y|-))AqqvdO%|hcf6l*<`zFCf=C!){IyK}MlI4EsMgrM&fjHj|4nFO e`, YEAR. -# -#, fuzzy -msgid "" -msgstr "" -"Project-Id-Version: PACKAGE VERSION\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-04-28 22:27+0200\n" -"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" -"Last-Translator: FULL NAME \n" -"Language-Team: LANGUAGE \n" -"Language: \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" - -#: .\myapp\forms.py:9 -msgid "Search a country..." -msgstr "Suche ein Land..." - -#: .\myapp\forms.py:16 -msgid "All" -msgstr "Alle" - -#: .\myapp\forms.py:17 -msgid "Africa" -msgstr "Afrika" - -#: .\myapp\forms.py:18 -msgid "Americas" -msgstr "Amerikas" - -#: .\myapp\forms.py:19 -msgid "Antarctic" -msgstr "Antarktis" - -#: .\myapp\forms.py:20 -msgid "Asia" -msgstr "Asien" - -#: .\myapp\forms.py:21 -msgid "Europe" -msgstr "Europa" - -#: .\myapp\forms.py:22 -msgid "Oceania" -msgstr "Ozeanien" - -#: .\myapp\forms.py:25 -msgid "Select region" -msgstr "Region auswählen" - -#: .\myapp\templates\countries.html:11 -#, fuzzy -#| msgid "Welcome to the REST Countries Info APP" -msgid "REST Countries Info APP" -msgstr "Willkommen bei der REST Countries Info APP" - -#: .\myapp\templates\countries.html:23 -msgid "Countries of the World" -msgstr "Länder der Welt    " - -#: .\myapp\templates\countries.html:26 -msgid "Search" -msgstr "Suche" - -#: .\myapp\templates\countries.html:41 -msgid "Back" -msgstr "Zurück" - -#: .\myapp\templates\countries.html:49 -msgid "flag" -msgstr "" - -#: .\myapp\templates\countries.html:51 -#: .\myapp\templates\filter_countries.html:8 -msgid "Capital" -msgstr "Kapital" - -#: .\myapp\templates\countries.html:55 .\myapp\templates\countries.html:62 -#: .\myapp\templates\countries.html:69 .\myapp\templates\countries.html:76 -#: .\myapp\templates\countries.html:97 .\myapp\templates\countries.html:107 -#: .\myapp\templates\countries.html:116 .\myapp\templates\countries.html:123 -#: .\myapp\templates\countries.html:132 .\myapp\templates\countries.html:139 -#: .\myapp\templates\filter_countries.html:12 -#: .\myapp\templates\filter_countries.html:19 -#: .\myapp\templates\filter_countries.html:26 -#: .\myapp\templates\filter_countries.html:33 -msgid "N/A" -msgstr "K.A." - -#: .\myapp\templates\countries.html:58 -#: .\myapp\templates\filter_countries.html:15 -msgid "Population" -msgstr "Bevölkerung" - -#: .\myapp\templates\countries.html:65 -#: .\myapp\templates\filter_countries.html:22 -msgid "Region" -msgstr "Region" - -#: .\myapp\templates\countries.html:72 -#: .\myapp\templates\filter_countries.html:29 -msgid "Subregion" -msgstr "Unterregion" - -#: .\myapp\templates\countries.html:82 .\myapp\templates\countries.html:84 -#: .\myapp\templates\countries.html:148 .\myapp\templates\countries.html:152 -msgid "emblem" -msgstr "" - -#: .\myapp\templates\countries.html:90 -msgid "Currency" -msgstr "Währung" - -#: .\myapp\templates\countries.html:100 -msgid "Language" -msgstr "Sprache" - -#: .\myapp\templates\countries.html:110 -msgid "Borders" -msgstr "Grenzen" - -#: .\myapp\templates\countries.html:119 -msgid "Area" -msgstr "Bereich" - -#: .\myapp\templates\countries.html:126 -msgid "Timezones" -msgstr "Zeitzonen" - -#: .\myapp\templates\countries.html:135 -msgid "Top-level domain" -msgstr "Top-level-domäne" - -#: .\myapp\templates\countries.html:160 -msgid "ABOUT" -msgstr "ÜBER" - -#: .\myapp\templates\countries.html:167 -msgid "No results found..." -msgstr "Keine Ergebnisse gefunden..." - -#: .\myapp\templates\countries.html:176 .\myapp\templates\countries.html:177 -msgid "Link to my GitHub page." -msgstr "Link zu meiner GitHub-Seite." - -#: .\myapp\templates\countries.html:180 .\myapp\templates\countries.html:181 -msgid "Made with Django." -msgstr "Hergestellt mit Django." - -#: .\myapp\templates\index.html:17 -msgid "Welcome to the REST Countries Info APP" -msgstr "Willkommen bei der REST Countries Info APP" - -#: .\myapp\templates\index.html:18 -msgid "Click on the button below to start." -msgstr "Klicken Sie auf die Schaltfläche unten, um zu beginnen." - -#: .\myapp\templates\index.html:20 -msgid "Enter" -msgstr "Eingabe" diff --git a/myproject/locale/es/LC_MESSAGES/django.mo b/myproject/locale/es/LC_MESSAGES/django.mo deleted file mode 100644 index 9692ab3c85dfc39e7165ce5bb7cf3994c721064c..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1849 zcmZ{jO^6&t6vs=AM#uQIMvb2-4OtNF*&QRY&SYbHW_ouA=Zl%y4SK8Tu9>Obo~og` zdXo)$@aRntLA+@26d_;2q%S;BDYn;GN(%;9cPN;1Td<#-B6(1|G%w z?-~CBPhtKK_%L_^&dARaNaw78bk4bKJpdoUya_%44nREY5?&92Z-C_g9WV#J57PG^ zXZ!>tyX)XR;I|;@{W0S&;Qg5Y0WO07f(kJ>iOZ1P+Ym+m-UaD?AAq#}AxP(41@W*O zc+vhBAlZKnlHGS8>H7i9gFk_%!J{xDJ1^sl8A}<<;8WPIfuwH)LK@oxp8?+lDQ+Ku zGaVqEa|6V~zQl{-H3b*In;_Z!2_6Ig&i3h}Ma&mKTzi%SEJ&@HNLCkm zn2I3=O7D=9@g84SZX@mU36}G$AtK2yDmUWQZP=PTYcBb$X}Fb18oPuKa9otn=UFS1 zLPL1lOww35Wi;!^A)zaAyHN%%csNtIM;~=%EJFupbHlWsje2Sfr)-w|?mb)_M zkr@l6*##MgW-Li8MWGXPd;IXuH9augZ?{?7nr*oDYLT~v5JE?hxBbei{(8W-f=;*A zYUVm}VyyET$xuaJIUOcm&lGvC-SRqeSJ5|KRXADXuLXX`YqY$o&o^4dM(w%RTg@O> z7m4$FR_FxxHMYptHtTiX^cw*`8#Me{{k&hTLSOeBOy_a-dQyywyzV#GH%ZCadi{K? z^2QDiZJ?l0YXpa~3;E?-#o)JT9Je=t9w#rkrAdr%lz2E2Hj!?1v$y809NLkrfwW$r zLlY@IEb^7Ua=CV#S`m9|#*ULB*OS>aSv^zY^Wm!ItE;@gU*XFf`~2xu3>FtLI?W5q zvqlEXFet#_g;I|Bm7r7cc{SM2?VgDYl6!jfAiJkmtW%L-)3*-td&|VT$ip>D7qcjW z{Ty!#E4Um_=OZyh!XWLr)Er6BH*Wfw=15A>7u!h3wwPW^kn9mQ8%Ra7cxt8a z@|n^B3NI~}SOd9)^O5^jWXUgBUD8j%Vk|=V<734q(h%b4K_Dcez, YEAR. -# -#, fuzzy -msgid "" -msgstr "" -"Project-Id-Version: PACKAGE VERSION\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-04-28 22:47+0200\n" -"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" -"Last-Translator: FULL NAME \n" -"Language-Team: LANGUAGE \n" -"Language: \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? " -"1 : 2;\n" - -#: .\myapp\forms.py:9 -msgid "Search a country..." -msgstr "Busca un país..." - -#: .\myapp\forms.py:16 -msgid "All" -msgstr "Todo" - -#: .\myapp\forms.py:17 -msgid "Africa" -msgstr "Africa" - -#: .\myapp\forms.py:18 -msgid "Americas" -msgstr "Américas" - -#: .\myapp\forms.py:19 -msgid "Antarctic" -msgstr "Antártida" - -#: .\myapp\forms.py:20 -msgid "Asia" -msgstr "Asia" - -#: .\myapp\forms.py:21 -msgid "Europe" -msgstr "Europa" - -#: .\myapp\forms.py:22 -msgid "Oceania" -msgstr "Oceanía" - -#: .\myapp\forms.py:25 -msgid "Select region" -msgstr "Selecciona región" - -#: .\myapp\templates\countries.html:11 -#, fuzzy -#| msgid "Welcome to the REST Countries Info APP" -msgid "REST Countries Info APP" -msgstr "Bienvenidos en REST Countries Info APP" - -#: .\myapp\templates\countries.html:23 -msgid "Countries of the World" -msgstr "Países del Mundo   " - -#: .\myapp\templates\countries.html:26 -msgid "Search" -msgstr "Buscar" - -#: .\myapp\templates\countries.html:41 -msgid "Back" -msgstr "Volver" - -#: .\myapp\templates\countries.html:49 -msgid "flag" -msgstr "" - -#: .\myapp\templates\countries.html:51 -#: .\myapp\templates\filter_countries.html:8 -msgid "Capital" -msgstr "Capital" - -#: .\myapp\templates\countries.html:55 .\myapp\templates\countries.html:62 -#: .\myapp\templates\countries.html:69 .\myapp\templates\countries.html:76 -#: .\myapp\templates\countries.html:96 .\myapp\templates\countries.html:105 -#: .\myapp\templates\countries.html:114 .\myapp\templates\countries.html:121 -#: .\myapp\templates\countries.html:130 .\myapp\templates\countries.html:137 -#: .\myapp\templates\filter_countries.html:12 -#: .\myapp\templates\filter_countries.html:19 -#: .\myapp\templates\filter_countries.html:26 -#: .\myapp\templates\filter_countries.html:33 -msgid "N/A" -msgstr "N/D" - -#: .\myapp\templates\countries.html:58 -#: .\myapp\templates\filter_countries.html:15 -msgid "Population" -msgstr "Población" - -#: .\myapp\templates\countries.html:65 -#: .\myapp\templates\filter_countries.html:22 -msgid "Region" -msgstr "Región" - -#: .\myapp\templates\countries.html:72 -#: .\myapp\templates\filter_countries.html:29 -msgid "Subregion" -msgstr "Subregión" - -#: .\myapp\templates\countries.html:82 .\myapp\templates\countries.html:84 -#: .\myapp\templates\countries.html:146 .\myapp\templates\countries.html:150 -msgid "emblem" -msgstr "" - -#: .\myapp\templates\countries.html:90 -msgid "Currency" -msgstr "Moneda" - -#: .\myapp\templates\countries.html:99 -msgid "Language" -msgstr "Lengua" - -#: .\myapp\templates\countries.html:108 -msgid "Borders" -msgstr "Fronteras" - -#: .\myapp\templates\countries.html:117 -msgid "Area" -msgstr "Área" - -#: .\myapp\templates\countries.html:124 -msgid "Timezones" -msgstr "Huso horario" - -#: .\myapp\templates\countries.html:133 -msgid "Top-level domain" -msgstr "Nombre de dominio" - -#: .\myapp\templates\countries.html:158 -msgid "ABOUT" -msgstr "ACERCA DE" - -#: .\myapp\templates\countries.html:165 -msgid "No results found..." -msgstr "No se han encontrado resultados..." - -#: .\myapp\templates\countries.html:174 .\myapp\templates\countries.html:175 -msgid "Link to my GitHub page." -msgstr "Enlace a mi página de GitHub." - -#: .\myapp\templates\countries.html:178 .\myapp\templates\countries.html:179 -msgid "Made with Django." -msgstr "Hecho con Django" - -#: .\myapp\templates\index.html:17 -msgid "Welcome to the REST Countries Info APP" -msgstr "Bienvenidos en REST Countries Info APP" - -#: .\myapp\templates\index.html:18 -msgid "Click on the button below to start." -msgstr "Para empezar, haga clic en el botón de abajo." - -#: .\myapp\templates\index.html:20 -msgid "Enter" -msgstr "Entrar" diff --git a/myproject/locale/fr/LC_MESSAGES/django.mo b/myproject/locale/fr/LC_MESSAGES/django.mo deleted file mode 100644 index 7a978c97c38804e924b611cc6cd7ca33760ca908..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1850 zcmZ{jO^h2g7={g$zfk_#Ld)-3saYS5@3Kt|0;>ZDRyx(NRLM5ztp0UUNzSp1M{CMQh zy9{j!{Yms=w=s4KJbXJIXrF_3f;Ygsz%Ri&z^}l2z^}o3!EeDs;P(Z8DEJe2H|BpX z_&azK<3GSh!4n8ZaaKUevj$S0v&DP}9>=%|J`DCj{Mc1Ij)HH16#p7n0^bK||Mh~O zfVA!gct7|JNP533coTdG<6ppK@J}#64VG}2!x#&QqWBu5^G!g?^E!AR_*OChPQmv; z{Md(h(D#o(+W#523Vs3l;IGB}afl_oO9ht;df;Q2e-WfQH9<&Y5_}3&Al2<{kn~&w zDbEKWo$osM2>2;TapoYM=O*|7_**gm7r2b^QEbMsa}QA5C(x-;ZfaB`Y7~p|P)=&( z8_GkC>PziubkabL?u_bBnsMdq1Ul7`v`~GJKEGd-gFTLZ44oRC^$0p?rS{+gxSY+_ zPL~CJt75@|Bw@iw(tFAR?Sze;idkSKzNJdAO%d<0O=Ek~rmP~y%87(k5*6=pqq!SO zzMDCR*Ik*IE8H2LB8c-@#bnx9B~xzt`MQh7COuZktd%;RvQRr|S(sTfmaH!HAQJ<; zD7{BPMpM46-1%&mk1_4DhUiItMY$obUdCGEv*t>`nuc4MW{FFAAL)9&@3U4cg@*9R zjI%^IWi)Hc0ih#tx?uq>c$_Po(x#3~Wb6=Zu`t^$-nwce_l=e*>zc8b$capN&y0l9 z?4nF!Gm<2hs?ZKQU4C%pn(iAOL=lUuxs1?Wt>;}p38ACRqoDFiupROXVY^dnHA`(d zHr9EKbf9|PW;RH@t|{|U)biSLqG*p-6;77QsMe4k+ z6*|RvjV<%7oqC-&gGR{DgpHt9KNnQ1(APPOrHeXyT`5LoUJshvJEY`Hy?!oHzOjRY zHBiu~HNpegtN!Uy#o*dB(oM(E27&z2kS^yUs^BJvFRy2 zDD$;lMeU^IdkrG1Xa3B}pxDW(&6 z8sXvTSb05}rY1{$7Kv%fdl_#S-IL2F*H&MCVf|LDzH}OM^ki731th@c_7GU&|1o=whsFwJC9CHD14)|3 aR*n?5YBj+Mwu$3Sq|WdSxBtI?jlThP#, YEAR. -# -#, fuzzy -msgid "" -msgstr "" -"Project-Id-Version: PACKAGE VERSION\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-04-28 22:27+0200\n" -"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" -"Last-Translator: FULL NAME \n" -"Language-Team: LANGUAGE \n" -"Language: \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=2; plural=(n > 1);\n" - -#: .\myapp\forms.py:9 -msgid "Search a country..." -msgstr "Recherchez un pays..." - -#: .\myapp\forms.py:16 -msgid "All" -msgstr "Tout" - -#: .\myapp\forms.py:17 -msgid "Africa" -msgstr "Afrique" - -#: .\myapp\forms.py:18 -msgid "Americas" -msgstr "Amériques" - -#: .\myapp\forms.py:19 -msgid "Antarctic" -msgstr "Antarctique" - -#: .\myapp\forms.py:20 -msgid "Asia" -msgstr "Asie" - -#: .\myapp\forms.py:21 -msgid "Europe" -msgstr "Europe" - -#: .\myapp\forms.py:22 -msgid "Oceania" -msgstr "Océanie" - -#: .\myapp\forms.py:25 -msgid "Select region" -msgstr "Sélectionner une région" - -#: .\myapp\templates\countries.html:11 -#, fuzzy -#| msgid "Welcome to the REST Countries Info APP" -msgid "REST Countries Info APP" -msgstr "Bienvenue dans REST Countries Info APP" - -#: .\myapp\templates\countries.html:23 -msgid "Countries of the World" -msgstr "Pays du Monde     " - -#: .\myapp\templates\countries.html:26 -msgid "Search" -msgstr "Recherche" - -#: .\myapp\templates\countries.html:41 -msgid "Back" -msgstr "Retou" - -#: .\myapp\templates\countries.html:49 -msgid "flag" -msgstr "" - -#: .\myapp\templates\countries.html:51 -#: .\myapp\templates\filter_countries.html:8 -msgid "Capital" -msgstr "Capital" - -#: .\myapp\templates\countries.html:55 .\myapp\templates\countries.html:62 -#: .\myapp\templates\countries.html:69 .\myapp\templates\countries.html:76 -#: .\myapp\templates\countries.html:97 .\myapp\templates\countries.html:107 -#: .\myapp\templates\countries.html:116 .\myapp\templates\countries.html:123 -#: .\myapp\templates\countries.html:132 .\myapp\templates\countries.html:139 -#: .\myapp\templates\filter_countries.html:12 -#: .\myapp\templates\filter_countries.html:19 -#: .\myapp\templates\filter_countries.html:26 -#: .\myapp\templates\filter_countries.html:33 -msgid "N/A" -msgstr "N/A" - -#: .\myapp\templates\countries.html:58 -#: .\myapp\templates\filter_countries.html:15 -msgid "Population" -msgstr "Population" - -#: .\myapp\templates\countries.html:65 -#: .\myapp\templates\filter_countries.html:22 -msgid "Region" -msgstr "Région" - -#: .\myapp\templates\countries.html:72 -#: .\myapp\templates\filter_countries.html:29 -msgid "Subregion" -msgstr "Sous-région" - -#: .\myapp\templates\countries.html:82 .\myapp\templates\countries.html:84 -#: .\myapp\templates\countries.html:148 .\myapp\templates\countries.html:152 -msgid "emblem" -msgstr "" - -#: .\myapp\templates\countries.html:90 -msgid "Currency" -msgstr "Monnaie" - -#: .\myapp\templates\countries.html:100 -msgid "Language" -msgstr "Langue" - -#: .\myapp\templates\countries.html:110 -msgid "Borders" -msgstr "Frontières" - -#: .\myapp\templates\countries.html:119 -msgid "Area" -msgstr "Zone" - -#: .\myapp\templates\countries.html:126 -msgid "Timezones" -msgstr "Fuseau horaire" - -#: .\myapp\templates\countries.html:135 -msgid "Top-level domain" -msgstr "Domaine de premier niveau" - -#: .\myapp\templates\countries.html:160 -msgid "ABOUT" -msgstr "À PROPOS DE" - -#: .\myapp\templates\countries.html:167 -msgid "No results found..." -msgstr "Pas de résultats trouvés..." - -#: .\myapp\templates\countries.html:176 .\myapp\templates\countries.html:177 -msgid "Link to my GitHub page." -msgstr "Lien vers ma page GitHub." - -#: .\myapp\templates\countries.html:180 .\myapp\templates\countries.html:181 -msgid "Made with Django." -msgstr "Réalisé avec Django." - -#: .\myapp\templates\index.html:17 -msgid "Welcome to the REST Countries Info APP" -msgstr "Bienvenue dans REST Countries Info APP" - -#: .\myapp\templates\index.html:18 -msgid "Click on the button below to start." -msgstr "Pour commencer, cliquez sur le bouton ci-dessous." - -#: .\myapp\templates\index.html:20 -msgid "Enter" -msgstr "Entrer" diff --git a/myproject/locale/it/LC_MESSAGES/django.mo b/myproject/locale/it/LC_MESSAGES/django.mo deleted file mode 100644 index ff9e2c4e488162fa9e33e254a36b0d3f34389eed..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1820 zcmZ{jJ!~9B6vqb$5RO0~1QNcIhXN5%*fWO4oZ~2acWdXwed+G(2q@6p?)W_M-pplo z*0Bwup`Zi`J|qeXs3;Jw(orBG3OW!C5}^Qzh7t)%{_k#$1rkp;^PAb7ee<6;|GRnY z(0c-L8tpN(Z;??cg4G2Y3U#4g3;341NXP1%3-20)Hs@W5J)nJMsM2 zg1>`jF#iL52t0{ooM#T?eHK98=VI|Z0#9Jx2JZ*gLHxuvx(C45LC*gUSOPx;`TI`_ zeg^WoJ@6jzYmoJRU+^dJKFogu&w_t}Rn*`#4s$Q&Lx|#h*Fe^{jgIxc0dk(VKtA`o z1>Y~;e^k8xw3vSmp2xZy;FI7lAm=@dj`be}d48hcDUk2vDeyrs0wGPj0zL}93i5Za zfp>#%7W20YegJa4J_h;wJ&^134an=i15biCLDusph+|JZz~|#VIQWh@xJDcgqw&6+ zi-R?Ceh#iL$0;clN0S_Dr%{YH_00E z8;XXx_ZSXUYOj;Glp%>Pi<-@icUom+*Qe{QSeGWEmOH0Rydxsxl@n3!>_myCG^1RO zFwka`lZmAW895;SPV)SE-6UlFb(8!(uehW3_9I%EZ7dp(loC6Z z+K4MEjqO;mSgt}Z>JRAP%nh?{DeQJd*V(H`9W;_)4JCw*3U$NUi{VN{Yf-P?=(I~c zHL=bIt!$)|pqh`eU|=g$>UM&j+S2?@P?ug+=%py^1+7j{59xBJ(rTQ4xzmnHO_}*% z;H1fLUh68fyxMG1J8VUCA!>z<=B2P+hra$rES=Rk7$`ZeP%~_=tg?~|&E}<4m#rHe ztbu}7qZJ*ja~JyxTB|R^C~$>>yh!r}iDJL{~Y|M(=9r)H4*r(6J;~iH4T#tms;< zDdTZjbfwBPCAj;RHHkfYW?}w?=NJDCu_n{pOSZK`%9*hx`x(Zb*;=Nlq_LK4X>BAW zy6|`z4wb3i-Np66m8S4GEM6CFm1Vghr`hKG9_QHt|6_HV%3b(GAro5|)Uk5-gV(qx zWSHO(YTxU;mY>SP@=EmgJ+H)ao>{Uug|?z@$EcEJtrMrmmQs!XKx#!*nJr~, YEAR. -# -#, fuzzy -msgid "" -msgstr "" -"Project-Id-Version: PACKAGE VERSION\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-04-28 22:27+0200\n" -"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" -"Last-Translator: FULL NAME \n" -"Language-Team: LANGUAGE \n" -"Language: \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" - -#: .\myapp\forms.py:9 -msgid "Search a country..." -msgstr "Cerca un paese..." - -#: .\myapp\forms.py:16 -msgid "All" -msgstr "Tutto" - -#: .\myapp\forms.py:17 -msgid "Africa" -msgstr "Africa" - -#: .\myapp\forms.py:18 -msgid "Americas" -msgstr "Americhe" - -#: .\myapp\forms.py:19 -msgid "Antarctic" -msgstr "Antartide" - -#: .\myapp\forms.py:20 -msgid "Asia" -msgstr "Asia" - -#: .\myapp\forms.py:21 -msgid "Europe" -msgstr "Europa" - -#: .\myapp\forms.py:22 -msgid "Oceania" -msgstr "Oceania" - -#: .\myapp\forms.py:25 -msgid "Select region" -msgstr "Seleziona una regione" - -#: .\myapp\templates\countries.html:11 -#, fuzzy -#| msgid "Welcome to the REST Countries Info APP" -msgid "REST Countries Info APP" -msgstr "Benvenuti su REST Countries Info APP" - -#: .\myapp\templates\countries.html:23 -msgid "Countries of the World" -msgstr "Paesi del Mondo   " - -#: .\myapp\templates\countries.html:26 -msgid "Search" -msgstr "Ricerca" - -#: .\myapp\templates\countries.html:41 -msgid "Back" -msgstr "Indietro" - -#: .\myapp\templates\countries.html:49 -msgid "flag" -msgstr "" - -#: .\myapp\templates\countries.html:51 -#: .\myapp\templates\filter_countries.html:8 -msgid "Capital" -msgstr "Capitale" - -#: .\myapp\templates\countries.html:55 .\myapp\templates\countries.html:62 -#: .\myapp\templates\countries.html:69 .\myapp\templates\countries.html:76 -#: .\myapp\templates\countries.html:97 .\myapp\templates\countries.html:107 -#: .\myapp\templates\countries.html:116 .\myapp\templates\countries.html:123 -#: .\myapp\templates\countries.html:132 .\myapp\templates\countries.html:139 -#: .\myapp\templates\filter_countries.html:12 -#: .\myapp\templates\filter_countries.html:19 -#: .\myapp\templates\filter_countries.html:26 -#: .\myapp\templates\filter_countries.html:33 -msgid "N/A" -msgstr "N/D" - -#: .\myapp\templates\countries.html:58 -#: .\myapp\templates\filter_countries.html:15 -msgid "Population" -msgstr "Popolazione" - -#: .\myapp\templates\countries.html:65 -#: .\myapp\templates\filter_countries.html:22 -msgid "Region" -msgstr "Regione" - -#: .\myapp\templates\countries.html:72 -#: .\myapp\templates\filter_countries.html:29 -msgid "Subregion" -msgstr "Subregione" - -#: .\myapp\templates\countries.html:82 .\myapp\templates\countries.html:84 -#: .\myapp\templates\countries.html:148 .\myapp\templates\countries.html:152 -msgid "emblem" -msgstr "" - -#: .\myapp\templates\countries.html:90 -msgid "Currency" -msgstr "Valuta" - -#: .\myapp\templates\countries.html:100 -msgid "Language" -msgstr "Lingua" - -#: .\myapp\templates\countries.html:110 -msgid "Borders" -msgstr "Frontiere" - -#: .\myapp\templates\countries.html:119 -msgid "Area" -msgstr "Area" - -#: .\myapp\templates\countries.html:126 -msgid "Timezones" -msgstr "Fuso orario" - -#: .\myapp\templates\countries.html:135 -msgid "Top-level domain" -msgstr "Dominio di primo livello" - -#: .\myapp\templates\countries.html:160 -msgid "ABOUT" -msgstr "A PROPOSITO DI" - -#: .\myapp\templates\countries.html:167 -msgid "No results found..." -msgstr "Nessun risultato trovato..." - -#: .\myapp\templates\countries.html:176 .\myapp\templates\countries.html:177 -msgid "Link to my GitHub page." -msgstr "Link alla mia pagina di GitHub." - -#: .\myapp\templates\countries.html:180 .\myapp\templates\countries.html:181 -msgid "Made with Django." -msgstr "Realizzato con Django" - -#: .\myapp\templates\index.html:17 -msgid "Welcome to the REST Countries Info APP" -msgstr "Benvenuti su REST Countries Info APP" - -#: .\myapp\templates\index.html:18 -msgid "Click on the button below to start." -msgstr "Per iniziare, clicca sul bottone qui sotto." - -#: .\myapp\templates\index.html:20 -msgid "Enter" -msgstr "Entrare" diff --git a/myproject/locale/pt/LC_MESSAGES/django.mo b/myproject/locale/pt/LC_MESSAGES/django.mo deleted file mode 100644 index 422c6702a95999465630f8668bb7ad579871cc07..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1827 zcmZ{jKa3ki6vhV#5KIUV5(p5;poBnx_2oc9hc6dpZLco||C8;z2t>hnJ+>#eyR(^{ zz1&4Kk)Q>dNC+B|6cLD%NP*}OVnsz6(IAC1NHowM*e;G^I{B%?fYAf2-S(mAK{=N|YN?pxr);0VNzZQ$|<_%2BKKLQKj#~|&$ zmh%gc;%;Q~chX2SAEH1U?HM1*z`WK}ch7gGa%4KH*68Bqj}dM>Hsw#^acD z4%JSBd~;yBn&qYC)0m`z25Bc9PhsMfvxAuAlRcQE2ggp|FZJRH%>9@&s8-Uwmu@f~ zoPja7++OK3cVv_=m>UGl4JEA;=0;W+-zuNEM&iFj304;V8Y^ovlqO*n5i2VKRtc29 z#&yK)MDjsuEtUfr=nLFxo*;=WvWiY4Ym`j59!=xUY7-1uB{fDy{wDJxD-H8fqhrY$ zA{wV+jD?EUC`q`d8R*7RhFT=^$VARVXj&NG7bWV<(X7 zGT=iU3Kg-lGVpaMNi21t>-GA4r{;Pz(%kKISjXsdNbS^z&MI069VOmzD{r{V9$)pk zy?VP<=*n0d>ok+G8am~4oH%`5;)PDz>B@CQdz`AUvc%u?+^*AXJ5`sTX_uPy7vE~P zyh1}H*6AA&C8$@M60fZ^8ocE;J$}+_y7k6sw_1h1-YJC6`t0Qk*tw4 zju-iQsG@O+FAS6|bb{1~z^Q2yCM6!l)7xa}t>h8yQ?~Y7g^1aXl3B=e+}FbhTeZDv+KgV#Qi{> zPbH5uA84Ch(_9RM+JMPABHKz};i2YD_)8x0Q?>r6hS)sCR>%(HgOzlq_dg;KS4}jLS kG|_yb4f?AztLhLXDb4XUS{-XvmZ7t*&>5=i|Gt5L0QZozfdBvi diff --git a/myproject/locale/pt/LC_MESSAGES/django.po b/myproject/locale/pt/LC_MESSAGES/django.po deleted file mode 100644 index 4900708..0000000 --- a/myproject/locale/pt/LC_MESSAGES/django.po +++ /dev/null @@ -1,166 +0,0 @@ -# SOME DESCRIPTIVE TITLE. -# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER -# This file is distributed under the same license as the PACKAGE package. -# FIRST AUTHOR , YEAR. -# -#, fuzzy -msgid "" -msgstr "" -"Project-Id-Version: PACKAGE VERSION\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-04-28 22:27+0200\n" -"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" -"Last-Translator: FULL NAME \n" -"Language-Team: LANGUAGE \n" -"Language: \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" - -#: .\myapp\forms.py:9 -msgid "Search a country..." -msgstr "Procura um país..." - -#: .\myapp\forms.py:16 -msgid "All" -msgstr "Todos" - -#: .\myapp\forms.py:17 -msgid "Africa" -msgstr "África" - -#: .\myapp\forms.py:18 -msgid "Americas" -msgstr "Américas" - -#: .\myapp\forms.py:19 -msgid "Antarctic" -msgstr "Antártica" - -#: .\myapp\forms.py:20 -msgid "Asia" -msgstr "Ásia" - -#: .\myapp\forms.py:21 -msgid "Europe" -msgstr "Europa" - -#: .\myapp\forms.py:22 -msgid "Oceania" -msgstr "Oceânia" - -#: .\myapp\forms.py:25 -msgid "Select region" -msgstr "Selecionar região" - -#: .\myapp\templates\countries.html:11 -#, fuzzy -#| msgid "Welcome to the REST Countries Info APP" -msgid "REST Countries Info APP" -msgstr "Bem-vindo à REST Countries Info APP" - -#: .\myapp\templates\countries.html:23 -msgid "Countries of the World" -msgstr "Países do Mundo    " - -#: .\myapp\templates\countries.html:26 -msgid "Search" -msgstr "Pesquisar" - -#: .\myapp\templates\countries.html:41 -msgid "Back" -msgstr "Voltar" - -#: .\myapp\templates\countries.html:49 -msgid "flag" -msgstr "" - -#: .\myapp\templates\countries.html:51 -#: .\myapp\templates\filter_countries.html:8 -msgid "Capital" -msgstr "Capital" - -#: .\myapp\templates\countries.html:55 .\myapp\templates\countries.html:62 -#: .\myapp\templates\countries.html:69 .\myapp\templates\countries.html:76 -#: .\myapp\templates\countries.html:97 .\myapp\templates\countries.html:107 -#: .\myapp\templates\countries.html:116 .\myapp\templates\countries.html:123 -#: .\myapp\templates\countries.html:132 .\myapp\templates\countries.html:139 -#: .\myapp\templates\filter_countries.html:12 -#: .\myapp\templates\filter_countries.html:19 -#: .\myapp\templates\filter_countries.html:26 -#: .\myapp\templates\filter_countries.html:33 -msgid "N/A" -msgstr "N/D" - -#: .\myapp\templates\countries.html:58 -#: .\myapp\templates\filter_countries.html:15 -msgid "Population" -msgstr "População" - -#: .\myapp\templates\countries.html:65 -#: .\myapp\templates\filter_countries.html:22 -msgid "Region" -msgstr "Região" - -#: .\myapp\templates\countries.html:72 -#: .\myapp\templates\filter_countries.html:29 -msgid "Subregion" -msgstr "Sub-região" - -#: .\myapp\templates\countries.html:82 .\myapp\templates\countries.html:84 -#: .\myapp\templates\countries.html:148 .\myapp\templates\countries.html:152 -msgid "emblem" -msgstr "" - -#: .\myapp\templates\countries.html:90 -msgid "Currency" -msgstr "Moeda" - -#: .\myapp\templates\countries.html:100 -msgid "Language" -msgstr "Língua" - -#: .\myapp\templates\countries.html:110 -msgid "Borders" -msgstr "Fronteiras" - -#: .\myapp\templates\countries.html:119 -msgid "Area" -msgstr "Área" - -#: .\myapp\templates\countries.html:126 -msgid "Timezones" -msgstr "Fuso horário" - -#: .\myapp\templates\countries.html:135 -msgid "Top-level domain" -msgstr "Domínio de topo" - -#: .\myapp\templates\countries.html:160 -msgid "ABOUT" -msgstr "ACERCA DE" - -#: .\myapp\templates\countries.html:167 -msgid "No results found..." -msgstr "Não foram encontrados resultados..." - -#: .\myapp\templates\countries.html:176 .\myapp\templates\countries.html:177 -msgid "Link to my GitHub page." -msgstr "Ligação à minha página no GitHub." - -#: .\myapp\templates\countries.html:180 .\myapp\templates\countries.html:181 -msgid "Made with Django." -msgstr "Feito com Django." - -#: .\myapp\templates\index.html:17 -msgid "Welcome to the REST Countries Info APP" -msgstr "Bem-vindo à REST Countries Info APP" - -#: .\myapp\templates\index.html:18 -msgid "Click on the button below to start." -msgstr "Para começar, clique no botão abaixo." - -#: .\myapp\templates\index.html:20 -msgid "Enter" -msgstr "Entrar" diff --git a/myproject/myapp/templates/countries.html b/myproject/myapp/templates/countries.html index 8e3289c..13d5bba 100644 --- a/myproject/myapp/templates/countries.html +++ b/myproject/myapp/templates/countries.html @@ -8,7 +8,7 @@ - {% trans "REST Countries Info APP" %} + REST Countries Info APP {% bootstrap_css %} @@ -20,10 +20,10 @@
-

{% trans "Countries of the World" %}

+

Countries of the World

{{ search_form.search_term }} -
    @@ -38,7 +38,7 @@

    {% trans "Countries of the World" %}

    {% else %} + onclick="window.location.href='/countries'">Back {% endif %}
@@ -46,95 +46,95 @@

{% trans "Countries of the World" %}

{% for country in country_data %}
- {{ country.name.common }} {% trans 'flag' %} + {{ country.name.common }} flag

{{ country.name.common }}

-

{% trans 'Capital' %}: +

Capital: {% if country.capital %} {{ country.capital.0 }} {% else %} - {% trans 'N/A' %} + N/A {% endif %}

-

{% trans 'Population' %}: +

Population: {% if country.population %} {{ country.population }} {% else %} - {% trans 'N/A' %} + N/A {% endif %}

-

{% trans 'Region' %}: +

Region: {% if country.region %} {{ country.region }} {% else %} - {% trans 'N/A' %} + N/A {% endif %}

-

{% trans 'Subregion' %}: +

Subregion: {% if country.subregion %} {{ country.subregion }} {% else %} - {% trans 'N/A' %} + N/A {% endif %}

{% if not search_form.search_term.value %} {% with country.name.common|get_emblems_url as emblems %} {% if emblems %} - {{ country.name.common }} {% trans 'emblem' %} + {{ country.name.common }} emblem {% else %} - {{ country.name.common }} {% trans 'emblem' %} {% endif %} {% endwith %} {% endif %} {% if search_form.search_term.value %} -

{% trans 'Currency' %}: +

Currency: {% if country.currencies %} {% for currency_code, currency_info in country.currencies.items %} {{ currency_info.name }}{% if not forloop.last %},{% endif %} {% endfor %} {% else %} - {% trans 'N/A' %} + N/A {% endif %}

-

{% trans 'Language' %}: +

Language: {% if country.languages %} {% for language_code, language_name in country.languages.items %} {{ language_name }}{% if not forloop.last %},{% endif %} {% endfor %} {% else %} - {% trans 'N/A' %} + N/A {% endif %}

-

{% trans 'Borders' %}: +

Borders: {% if country.borders %} {% for border_country_code in country.borders %} {{ border_country_code }}{% if not forloop.last %},{% endif %} {% endfor %} {% else %} - {% trans 'N/A' %} + N/A {% endif %}

-

{% trans 'Area' %}: +

Area: {% if country.area %} {{ country.area }} km² {% else %} - {% trans 'N/A' %} + N/A {% endif %}

-

{% trans 'Timezones' %}: +

Timezones: {% if country.timezones %} {% for timezone in country.timezones %} {{ timezone }}{% if not forloop.last %},{% endif %} {% endfor %} {% else %} - {% trans 'N/A' %} + N/A {% endif %}

-

{% trans 'Top-level domain' %}: +

Top-level domain: {% if country.tld %} {{ country.tld.0 }} {% else %} - {% trans 'N/A' %} + N/A {% endif %}

{% endif %} @@ -143,11 +143,11 @@

{{ country.name.common }}

{% with country.name.common|get_emblems_url as emblems %} {% if emblems %}
- {{ country.name.common }} {% trans 'emblem' %} + {{ country.name.common }} emblem
{% elif country.coatOfArms %}
- {{ country.name.common }} {% trans 'emblem' %}
{% endif %} @@ -155,14 +155,14 @@

{{ country.name.common }}

{% endif %} {% if country.description %}
-

{% trans 'ABOUT' %} {{ country.name.common|upper }}:

+

ABOUT {{ country.name.common|upper }}:

{{ country.description }}

{% endif %} {% endfor %} {% if not country_data %}
-

{% trans 'No results found...' %}

+

No results found...

{% endif %}
@@ -171,12 +171,12 @@

{% trans 'No results found...' %}

© 2024 | Davide Presti

- + {% trans 'Made with Django.' %} + src="https://www.djangoproject.com/m/img/badges/djangomade124x25.gif" alt="Made with Django." + title="Made with Django." id="django" />
diff --git a/myproject/myapp/templates/index.html b/myproject/myapp/templates/index.html index b539fd0..8956472 100644 --- a/myproject/myapp/templates/index.html +++ b/myproject/myapp/templates/index.html @@ -14,34 +14,13 @@
-

{% trans "Welcome to the REST Countries Info APP" %}

-

{% trans "Click on the button below to start." %}

+

Welcome to the REST Countries Info APP

+

Click on the button below to start.

+ onclick="window.location.href='/countries'">Enter

© 2024 | Davide Presti

- -
- {% csrf_token %} - - -
- - - - diff --git a/myproject/myproject/settings.py b/myproject/myproject/settings.py index e7e8561..f436818 100644 --- a/myproject/myproject/settings.py +++ b/myproject/myproject/settings.py @@ -127,24 +127,8 @@ LANGUAGE_CODE = 'en-us' -LANGUAGES = [ - ('en', 'English'), - ('es', 'Spanish'), - ('it', 'Italian'), - ('fr', 'French'), - ('de', 'German'), - ('pt', 'Portuguese'), -] - -# Directory where translation files will be stored -LOCALE_PATHS = [ - BASE_DIR / 'locale', -] - TIME_ZONE = 'UTC' -USE_I18N = True - USE_TZ = True # Static files (CSS, JavaScript, Images)