File: TODO

package info (click to toggle)
ruby-i18n-inflector 2.6.7-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 592 kB
  • sloc: ruby: 2,517; makefile: 3
file content (15 lines) | stat: -rw-r--r-- 656 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
== Near future

* allow nested vaules: pattern values that refer to other translation keys (needs loop detection) (doc name: nesting patterns)
* add unfold method that whill generate array or hash with all possible combinations of a given translation

  (lazy?)

  e.g: unfold('welcome')  # :only_used => false|true, :recursive => false|true
        => :levels => [:gender, :tense, :time]
           [:welcome][:m][:p] = 'hello sir'
         
== Distant future

* split interpolate_core and make it more reusable by raw data (e.g. pattern content)
* allow different descriptions for aliases pointing to the same token, e.g.: now: [@present, "description"]