Browse Source

Fix icone de langue et de traduction :

- plus d'icone dans les petits boutons du formulaire de traduction mais le code de langue a la place
- icone traduire et icone langue identiques utilisant une bulle avec 2 caracteres d'un alphabet different. La bulle pointe vers le haut pour degager de l'espace a l'icone dans le bouton d'ajout
issue_4651
Cerdic 2 years ago
parent
commit
0d9c5cc94b
  1. 2
      ecrire/paquet.xml
  2. 6
      prive/objets/liste/articles-trad.html
  3. 4
      prive/objets/liste/objets-trad.html
  4. BIN
      prive/themes/spip/images/langue-16.png
  5. BIN
      prive/themes/spip/images/langue-24.png
  6. BIN
      prive/themes/spip/images/traduction-16.png
  7. BIN
      prive/themes/spip/images/traduction-24.png
  8. BIN
      prive/themes/spip/images/traduction-32.png
  9. 45
      prive/themes/spip/images/traduction-xx.svg
  10. 1
      prive/themes/spip/lists.css.html

2
ecrire/paquet.xml

@ -174,7 +174,7 @@
<menu nom="auteur_creer" titre="icone_creer_nouvel_auteur" parent="outils_rapides" icone="images/auteur-new-16.png" action="auteur_edit" parametres="new=oui" />
<onglet nom="infos_perso" titre="icone_mes_infos" parent="infos_perso" icone="images/information-perso-24.png" />
<onglet nom="configurer_langage" titre="icone_ma_langue" parent="infos_perso" icone="images/ma_langue-24.png" />
<onglet nom="configurer_langage" titre="icone_ma_langue" parent="infos_perso" icone="images/langue-24.png" />
<onglet nom="configurer_preferences" titre="icone_mes_preferences" parent="infos_perso" icone="images/mes_preferences-24.png" />
<onglet nom="plugins_actifs" titre="plugin_titre_modifier" parent="plugins" icone="images/plugin-24.png" action="admin_plugin" />
</paquet>

6
prive/objets/liste/articles-trad.html

@ -22,16 +22,16 @@
<BOUCLE_liste_art(ARTICLES){id_trad}{statut==.*}{tout}{where?}{recherche?}{tri #ENV{par,date},#GET{defaut_tri}}{pagination #ENV{nb,10}}{!lang_select}>
<tr class="[(#COMPTEUR_BOUCLE|alterner{row_odd,row_even})]">
<td class='statut'>[(#STATUT|puce_statut{article,#ID_ARTICLE,#ID_RUBRIQUE})]</td>
<td class="trad">[(#ENV{id_trad}|=={#ID_ARTICLE}|oui)[(#CHEMIN_IMAGE{langue-16.png}|balise_img)]]
<td class="trad">[(#ENV{id_trad}|=={#ID_ARTICLE}|oui)<span class="on">#LANG</span>]
[(#ENV{editable}|oui)
[(#ENV{id_trad}|=={#ID_ARTICLE}|non)
[(#SET{titre,[<:info_numero_abbreviation:>#ID_ARTICLE (#TITRE) - [(#LANG|traduire_nom_langue)]]})]
[(#SET{titre,#VAL{trad_definir_reference}|_T{#ARRAY{titre,#GET{titre}}}})]
<button type='submit'
class="changer_reference_trad"
name='changer_reference_trad&#91;#ID_ARTICLE&#93;'
title="[(#GET{titre}|attribut_html)]"
value='#ID_ARTICLE'>[(#CHEMIN_IMAGE{langues-off-12.gif}
|balise_img{#GET{titre}})]</button>]
value='#ID_ARTICLE'>#LANG</button>]
]
</td>
<td class='titre principale'><span

4
prive/objets/liste/objets-trad.html

@ -18,9 +18,9 @@
<BOUCLE_liste_obj(POUR){tableau #ENV{id_trad}|lister_traductions{#ENV{objet}}}{pagination #ENV{nb,10}}{!lang_select}>
<tr class="[(#COMPTEUR_BOUCLE|alterner{row_odd,row_even})]">
<td class='picto'>#GET{picto}</td>
<td class="trad">[(#ENV{id_trad}|=={#VALEUR{id}}|oui)[(#CHEMIN_IMAGE{langue-16.png}|balise_img)]]
<td class="trad">[(#ENV{id_trad}|=={#VALEUR{id}}|oui)<span class="on">#LANG</span>]
[(#ENV{editable}|oui)
[(#ENV{id_trad}|=={#VALEUR{id}}|non)<button type='submit' name='changer_reference_trad&#91;#VALEUR{id}&#93;' value='#VALEUR{id}'>[(#CHEMIN_IMAGE{langues-off-12.gif}|balise_img)]</button>]
[(#ENV{id_trad}|=={#VALEUR{id}}|non)<button type='submit' class="changer_reference_trad" name='changer_reference_trad&#91;#VALEUR{id}&#93;' value='#VALEUR{id}'>#LANG</button>]
]
</td>
<td class='titre principale'>[(#VALEUR{lang}|lang_select|vide)]<span

BIN
prive/themes/spip/images/langue-16.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 811 B

After

Width:  |  Height:  |  Size: 442 B

BIN
prive/themes/spip/images/langue-24.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 739 B

After

Width:  |  Height:  |  Size: 551 B

BIN
prive/themes/spip/images/traduction-16.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 723 B

After

Width:  |  Height:  |  Size: 442 B

BIN
prive/themes/spip/images/traduction-24.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 551 B

BIN
prive/themes/spip/images/traduction-32.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 648 B

45
prive/themes/spip/images/traduction-xx.svg

@ -0,0 +1,45 @@
<svg
version="1.1"
xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"
viewBox="0 0 64 64"
xml:space="preserve">
<g transform="matrix(1,0,0,1,96,192)">
<path fill="#fff" d="M-34.1-129.7h-59.7v-47.8H-80l14.9-10.5v10.5h30.9V-129.7z"/>
<g transform="matrix(1,0,0,1,-96,-192)">
<path d="M1.9,64.8c-0.3,0-0.5-0.1-0.8-0.2c-0.8-0.3-1.5-1-1.8-1.8c-0.1-0.3-0.2-0.7-0.2-1V14.1c0-0.4,0.1-0.7,0.2-1
c0.3-0.8,1-1.5,1.8-1.8c0.3-0.1,0.7-0.2,1-0.2h10L29.3-0.3l0.2-0.1c0.4-0.2,0.8-0.3,1.2-0.4c1.2-0.1,2.4,0.6,2.9,1.7
c0.2,0.4,0.3,0.8,0.3,1.2v9h27.9l0.3,0c0.3,0,0.7,0.1,1,0.3c0.8,0.4,1.4,1.1,1.6,1.9c0.1,0.3,0.1,0.5,0.1,0.8v47.8
c0,0.4-0.1,0.7-0.2,1c-0.3,0.8-1,1.5-1.8,1.8c-0.3,0.1-0.7,0.2-1,0.2C41.9,64.9,21.7,64.8,1.9,64.8z M58.9,58.9V17.1H30.9
c-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3c-2.9,0-5.9,0-8.8,0
c-0.6,1.4-1.2,2.8-1.8,4.1c-0.2,0.5-0.5,0.9-1,1.2c-0.3,0.2-0.5,0.3-0.8,0.4c-1,0.3-2.1,0.1-2.9-0.6c-0.3-0.2-0.5-0.5-0.7-0.9
c-0.2-0.3-0.3-0.7-0.3-1c-0.1-0.5,0-0.9,0.2-1.4c2.8-7.1,6-14,9-21.1c0.1-0.2,0.2-0.4,0.3-0.5c0.2-0.3,0.4-0.5,0.7-0.7
c0.1-0.1,0.2-0.1,0.3-0.2c0,0,0.1,0,0.1-0.1c0.1,0,0.2-0.1,0.2-0.1c0.2-0.1,0.5-0.2,0.8-0.2c0,0,0,0,0,0c0,0,0,0,0,0
C141.3,219.7,141.4,219.7,141.5,219.7z M141.6,230.4c-0.6,1.4-1.2,2.8-1.8,4.2c1.2,0,2.4,0,3.5,0
C142.7,233.2,142.2,231.8,141.6,230.4z"/>
</g>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 3.4 KiB

1
prive/themes/spip/lists.css.html

@ -78,6 +78,7 @@
.liste-objets.[(#VALEUR{table_objet})] .caption {background-image:url((#CHEMIN_IMAGE{#VALEUR{icone_objet}}));padding-#ENV{left}:30px;}]</BOUCLE_objets>
.liste-objets.traductions .trad {text-align:center;}
.liste-objets.traductions button.changer_reference_trad {line-height: 1;margin: 0;width: 100%;}
/* dans une colonne laterale, ne visualiser que l'info .lat, le statut et l'id */
.lat .liste-objets tr > .secondaire,

Loading…
Cancel
Save