0

我有来自 ember.select 示例http://emberjs.com/api/classes/Ember.Select.html的以下代码

var yehuda = {firstName: "Yehuda", id: 1, bff4eva: 'tom'}
var tom = {title: "totranslate", id: 2, bff4eva: 'yehuda'};

App.ApplicationController = Ember.ObjectController.extend({
  selectedPerson: tom,
  programmers: [
    yehuda,
    tom
  ]
});

我将如何翻译标题“totranslate”?

Ember-i18n 插件 ( https://github.com/jamesarosen/ember-i18n ) 已设置并正在运行。

4

0 回答 0