From af4979e3218a0e13e81bc971a1984e8087ae7a77 Mon Sep 17 00:00:00 2001 From: Thibaut Girka Date: Sun, 14 Jul 2019 21:59:13 +0200 Subject: [PATCH] Make some strings translatable --- .../flavours/glitch/containers/status_container.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/app/javascript/flavours/glitch/containers/status_container.js b/app/javascript/flavours/glitch/containers/status_container.js index 41fcc2010b..b85a7b869a 100644 --- a/app/javascript/flavours/glitch/containers/status_container.js +++ b/app/javascript/flavours/glitch/containers/status_container.js @@ -40,6 +40,8 @@ const messages = defineMessages({ replyMessage: { id: 'confirmations.reply.message', defaultMessage: 'Replying now will overwrite the message you are currently composing. Are you sure you want to proceed?' }, blockAndReport: { id: 'confirmations.block.block_and_report', defaultMessage: 'Block & Report' }, unfilterConfirm: { id: 'confirmations.unfilter.confirm', defaultMessage: 'Show' }, + author: { id: 'confirmations.unfilter.author', defaultMessage: 'Author' }, + matchingFilters: { id: 'confirmations.unfilter.filters', defaultMessage: 'Matching {count, plural, one {filter} other {filters}}' }, }); const makeMapStateToProps = () => { @@ -204,10 +206,10 @@ const mapDispatchToProps = (dispatch, { intl, contextType }) => ({ message: [ ,
- + - +
    {matchingFilters.map(filter =>
  • {filter.get('phrase')}
  • )}