Merge pull request #1056 from matrix-org/kegan/translation-tamarin

Add remaining translations
This commit is contained in:
Matthew Hodgson 2017-06-08 15:06:26 +01:00 committed by GitHub
commit f26aeef2bf
32 changed files with 217 additions and 99 deletions

View file

@ -14,6 +14,7 @@ See the License for the specific language governing permissions and
limitations under the License.
*/
var React = require('react');
import { _t } from '../../../languageHandler';
module.exports = React.createClass({
displayName: 'TruncatedList',
@ -33,7 +34,7 @@ module.exports = React.createClass({
truncateAt: 2,
createOverflowElement: function(overflowCount, totalCount) {
return (
<div>And {overflowCount} more...</div>
<div>{_t("And %(count)s more...", {count: overflowCount})}</div>
);
}
};