2016-08-10 21:36:11 +02:00
|
|
|
/**
|
|
|
|
* This file defines i18n related models.
|
|
|
|
*/
|
|
|
|
|
|
|
|
// NPM import
|
2016-08-01 00:26:52 +02:00
|
|
|
import Immutable from "immutable";
|
|
|
|
|
2016-08-10 21:36:11 +02:00
|
|
|
/** i18n record for passing errors to be localized from actions to components */
|
2016-08-01 00:26:52 +02:00
|
|
|
export const i18nRecord = new Immutable.Record({
|
2016-08-10 21:36:11 +02:00
|
|
|
id: null, /** Translation message id */
|
2016-08-10 23:50:23 +02:00
|
|
|
values: new Immutable.Map(), /** Values to pass to formatMessage */
|
2016-08-01 00:26:52 +02:00
|
|
|
});
|