Project

General

Profile

Tâche #17942

Scénario #17695: Étoffer la documentation développeur

Mettre à jour la doc développeur

Added by Emmanuel GARETTE almost 7 years ago. Updated almost 7 years ago.

Status:
Fermé
Priority:
Normal
Assigned To:
Gwenael Remond
Start date:
09/26/2016
Due date:
% Done:

100%

Estimated time:
10.00 h
Spent time:
Remaining (hours):
0.0

Related issues

Copied to EWT - Scénario #18007: Mettre à jour la doc développeur Terminé (Sprint) 12/16/2016 03/03/2017

History

#1 Updated by Emmanuel GARETTE almost 7 years ago

  • Status changed from Nouveau to En cours

#2 Updated by Scrum Master almost 7 years ago

  • % Done changed from 0 to 10

#3 Updated by Emmanuel GARETTE almost 7 years ago

ajouté en snippet polymer dans la doc developpeur

Pour traduire un composant il faut :
  • importer le composant (si nécessaire, dans le portail, l'import étant dans app-shell.html, ce n'est pas forcement nécessaire) :
<link rel="import" href="../ewt-localize/ewt-localize-behavior.html">
  • ajouter un "behaviors" :
    behaviors: [
      Polymer.EwtLocalizeBehavior
    ],
  • pour traduire une chaîne dans un template :
[[localize('description')]]
  • pour traduire une chaîne dans le code javascript (attention this.localize peut être "undefined" suivant le temps de chargement du "behavior) :
this.localize('filter1', 'package', packageInfo.title)
  • traduire les chaînes dans "locales.json" :

Ajouter une clé/valeur pour toutes les langes. Dans les exemples précédents :

"description": "Description" 
"filter1": "Filtre dans les actions \"{package}\"" 

#4 Updated by Gwenael Remond almost 7 years ago

  • Remaining (hours) changed from 10.0 to 9.0

#5 Updated by Gwenael Remond almost 7 years ago

#6 Updated by Gwenael Remond almost 7 years ago

  • Remaining (hours) changed from 9.0 to 7.0

#7 Updated by Gwenael Remond almost 7 years ago

  • % Done changed from 10 to 60
  • Remaining (hours) changed from 7.0 to 1.0

#8 Updated by Gwenael Remond almost 7 years ago

ajouter une page de description de prise en main de l'architecture de dev

#9 Updated by Gwenael Remond almost 7 years ago

  • % Done changed from 60 to 100
  • Remaining (hours) changed from 1.0 to 0.0

#10 Updated by Gwenael Remond almost 7 years ago

  • Status changed from En cours to Fermé

#11 Updated by Lionel Morin almost 7 years ago

  • Status changed from Fermé to Résolu

#12 Updated by Lionel Morin almost 7 years ago

  • Status changed from Résolu to Fermé

Also available in: Atom PDF