this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Fix this unneeded Plural

+136 -151
+11 -15
src/components/status.jsx
··· 827 827 <MenuItem onClick={replyStatus}> 828 828 <Icon icon="comment" /> 829 829 <span> 830 - <Plural 831 - value={repliesCount} 832 - _0="Reply" 833 - other={shortenNumber(repliesCount)} 834 - /> 830 + {repliesCount > 0 ? shortenNumber(repliesCount) : t`Reply`} 835 831 </span> 836 832 </MenuItem> 837 833 <MenuConfirm ··· 898 894 > 899 895 <Icon icon="rocket" /> 900 896 <span> 901 - <Plural 902 - value={reblogsCount} 903 - _0={reblogged ? t`Unboost` : t`Boost…`} 904 - other={shortenNumber(reblogsCount)} 905 - /> 897 + {reblogsCount > 0 898 + ? shortenNumber(reblogsCount) 899 + : reblogged 900 + ? t`Unboost` 901 + : t`Boost…`} 906 902 </span> 907 903 </MenuConfirm> 908 904 <MenuItem ··· 911 907 > 912 908 <Icon icon="heart" /> 913 909 <span> 914 - <Plural 915 - value={favouritesCount} 916 - _0={favourited ? t`Unlike` : t`Like`} 917 - other={shortenNumber(favouritesCount)} 918 - /> 910 + {favouritesCount > 0 911 + ? shortenNumber(favouritesCount) 912 + : favourited 913 + ? t`Unlike` 914 + : t`Like`} 919 915 </span> 920 916 </MenuItem> 921 917 {supports('@mastodon/post-bookmark') && (
+125 -136
src/locales/en.po
··· 108 108 #: src/components/compose.jsx:2444 109 109 #: src/components/media-alt-modal.jsx:45 110 110 #: src/components/media-modal.jsx:283 111 - #: src/components/status.jsx:1629 112 - #: src/components/status.jsx:1646 113 - #: src/components/status.jsx:1770 114 - #: src/components/status.jsx:2365 115 - #: src/components/status.jsx:2368 111 + #: src/components/status.jsx:1625 112 + #: src/components/status.jsx:1642 113 + #: src/components/status.jsx:1766 114 + #: src/components/status.jsx:2361 115 + #: src/components/status.jsx:2364 116 116 #: src/pages/account-statuses.jsx:528 117 117 #: src/pages/accounts.jsx:106 118 118 #: src/pages/hashtag.jsx:199 ··· 181 181 msgstr "" 182 182 183 183 #: src/components/account-info.jsx:860 184 - #: src/components/status.jsx:2156 184 + #: src/components/status.jsx:2152 185 185 #: src/pages/catchup.jsx:71 186 186 #: src/pages/catchup.jsx:1412 187 187 #: src/pages/catchup.jsx:2023 ··· 277 277 msgstr "" 278 278 279 279 #: src/components/account-info.jsx:1298 280 - #: src/components/status.jsx:1072 280 + #: src/components/status.jsx:1068 281 281 msgid "Link copied" 282 282 msgstr "" 283 283 284 284 #: src/components/account-info.jsx:1301 285 - #: src/components/status.jsx:1075 285 + #: src/components/status.jsx:1071 286 286 msgid "Unable to copy link" 287 287 msgstr "" 288 288 289 289 #: src/components/account-info.jsx:1307 290 290 #: src/components/shortcuts-settings.jsx:1056 291 - #: src/components/status.jsx:1081 292 - #: src/components/status.jsx:3103 291 + #: src/components/status.jsx:1077 292 + #: src/components/status.jsx:3099 293 293 msgid "Copy" 294 294 msgstr "" 295 295 296 296 #: src/components/account-info.jsx:1322 297 297 #: src/components/shortcuts-settings.jsx:1074 298 - #: src/components/status.jsx:1097 298 + #: src/components/status.jsx:1093 299 299 msgid "Sharing doesn't seem to work." 300 300 msgstr "" 301 301 302 302 #: src/components/account-info.jsx:1328 303 - #: src/components/status.jsx:1103 303 + #: src/components/status.jsx:1099 304 304 msgid "Share…" 305 305 msgstr "" 306 306 ··· 417 417 #: src/components/shortcuts-settings.jsx:227 418 418 #: src/components/shortcuts-settings.jsx:580 419 419 #: src/components/shortcuts-settings.jsx:780 420 - #: src/components/status.jsx:2828 421 - #: src/components/status.jsx:3067 422 - #: src/components/status.jsx:3565 420 + #: src/components/status.jsx:2824 421 + #: src/components/status.jsx:3063 422 + #: src/components/status.jsx:3561 423 423 #: src/pages/accounts.jsx:33 424 424 #: src/pages/catchup.jsx:1548 425 425 #: src/pages/filters.jsx:224 ··· 600 600 msgstr "" 601 601 602 602 #: src/components/compose.jsx:1118 603 - #: src/components/status.jsx:1955 603 + #: src/components/status.jsx:1951 604 604 #: src/components/timeline.jsx:975 605 605 msgid "Content warning" 606 606 msgstr "" ··· 629 629 630 630 #: src/components/compose.jsx:1179 631 631 #: src/components/status.jsx:96 632 - #: src/components/status.jsx:1833 632 + #: src/components/status.jsx:1829 633 633 msgid "Private mention" 634 634 msgstr "" 635 635 ··· 659 659 660 660 #: src/components/compose.jsx:1469 661 661 #: src/components/keyboard-shortcuts-help.jsx:143 662 - #: src/components/status.jsx:1609 663 - #: src/components/status.jsx:1610 664 - #: src/components/status.jsx:2261 662 + #: src/components/status.jsx:830 663 + #: src/components/status.jsx:1605 664 + #: src/components/status.jsx:1606 665 + #: src/components/status.jsx:2257 665 666 msgid "Reply" 666 667 msgstr "" 667 668 ··· 875 876 876 877 #: src/components/drafts.jsx:125 877 878 #: src/components/list-add-edit.jsx:183 878 - #: src/components/status.jsx:1244 879 + #: src/components/status.jsx:1240 879 880 #: src/pages/filters.jsx:587 880 881 msgid "Delete…" 881 882 msgstr "" ··· 1075 1076 msgstr "" 1076 1077 1077 1078 #: src/components/keyboard-shortcuts-help.jsx:164 1078 - #: src/components/status.jsx:842 1079 - #: src/components/status.jsx:2287 1080 - #: src/components/status.jsx:2319 1081 - #: src/components/status.jsx:2320 1079 + #: src/components/status.jsx:838 1080 + #: src/components/status.jsx:2283 1081 + #: src/components/status.jsx:2315 1082 + #: src/components/status.jsx:2316 1082 1083 msgid "Boost" 1083 1084 msgstr "" 1084 1085 ··· 1087 1088 msgstr "" 1088 1089 1089 1090 #: src/components/keyboard-shortcuts-help.jsx:172 1090 - #: src/components/status.jsx:927 1091 - #: src/components/status.jsx:2344 1092 - #: src/components/status.jsx:2345 1091 + #: src/components/status.jsx:923 1092 + #: src/components/status.jsx:2340 1093 + #: src/components/status.jsx:2341 1093 1094 msgid "Bookmark" 1094 1095 msgstr "" 1095 1096 ··· 1152 1153 msgstr "" 1153 1154 1154 1155 #: src/components/media-alt-modal.jsx:57 1155 - #: src/components/status.jsx:971 1156 - #: src/components/status.jsx:998 1156 + #: src/components/status.jsx:967 1157 + #: src/components/status.jsx:994 1157 1158 #: src/components/translation-block.jsx:195 1158 1159 msgid "Translate" 1159 1160 msgstr "" 1160 1161 1161 1162 #: src/components/media-alt-modal.jsx:68 1162 - #: src/components/status.jsx:985 1163 - #: src/components/status.jsx:1012 1163 + #: src/components/status.jsx:981 1164 + #: src/components/status.jsx:1008 1164 1165 msgid "Speak" 1165 1166 msgstr "" 1166 1167 ··· 1197 1198 msgstr "" 1198 1199 1199 1200 #: src/components/media-post.jsx:133 1200 - #: src/components/status.jsx:3395 1201 - #: src/components/status.jsx:3491 1202 - #: src/components/status.jsx:3569 1201 + #: src/components/status.jsx:3391 1202 + #: src/components/status.jsx:3487 1203 + #: src/components/status.jsx:3565 1203 1204 #: src/components/timeline.jsx:964 1204 1205 #: src/pages/catchup.jsx:75 1205 1206 #: src/pages/catchup.jsx:1843 ··· 1484 1485 msgstr "" 1485 1486 1486 1487 #: src/components/notification.jsx:425 1487 - #: src/components/status.jsx:941 1488 - #: src/components/status.jsx:951 1488 + #: src/components/status.jsx:937 1489 + #: src/components/status.jsx:947 1489 1490 msgid "Boosted/Liked by…" 1490 1491 msgstr "" 1491 1492 ··· 1562 1563 msgstr "" 1563 1564 1564 1565 #. Relative time in seconds, as short as possible 1565 - #: src/components/relative-time.jsx:46 1566 + #: src/components/relative-time.jsx:54 1566 1567 msgid "{0}s" 1567 1568 msgstr "" 1568 1569 1569 1570 #. Relative time in minutes, as short as possible 1570 - #: src/components/relative-time.jsx:51 1571 + #: src/components/relative-time.jsx:59 1571 1572 msgid "{0}m" 1572 1573 msgstr "" 1573 1574 1574 1575 #. Relative time in hours, as short as possible 1575 - #: src/components/relative-time.jsx:56 1576 + #: src/components/relative-time.jsx:64 1576 1577 msgid "{0}h" 1577 1578 msgstr "" 1578 1579 ··· 1796 1797 msgstr "" 1797 1798 1798 1799 #: src/components/shortcuts-settings.jsx:376 1799 - #: src/components/status.jsx:1209 1800 + #: src/components/status.jsx:1205 1800 1801 #: src/pages/list.jsx:170 1801 1802 msgid "Edit" 1802 1803 msgstr "" ··· 2018 2019 msgid "Bookmarked @{0}'s post" 2019 2020 msgstr "" 2020 2021 2021 - #: src/components/status.jsx:830 2022 - msgid "{repliesCount, plural, =0 {Reply} other {{0}}}" 2023 - msgstr "" 2024 - 2025 - #: src/components/status.jsx:842 2026 - #: src/components/status.jsx:903 2027 - #: src/components/status.jsx:2287 2028 - #: src/components/status.jsx:2319 2022 + #: src/components/status.jsx:838 2023 + #: src/components/status.jsx:900 2024 + #: src/components/status.jsx:2283 2025 + #: src/components/status.jsx:2315 2029 2026 msgid "Unboost" 2030 2027 msgstr "" 2031 2028 2032 - #: src/components/status.jsx:858 2033 - #: src/components/status.jsx:2302 2029 + #: src/components/status.jsx:854 2030 + #: src/components/status.jsx:2298 2034 2031 msgid "Quote" 2035 2032 msgstr "" 2036 2033 2037 - #: src/components/status.jsx:866 2038 - #: src/components/status.jsx:2311 2034 + #: src/components/status.jsx:862 2035 + #: src/components/status.jsx:2307 2039 2036 msgid "Some media have no descriptions." 2040 2037 msgstr "" 2041 2038 2042 - #: src/components/status.jsx:873 2039 + #: src/components/status.jsx:869 2043 2040 msgid "Old post (<0>{0}</0>)" 2044 2041 msgstr "" 2045 2042 2046 - #: src/components/status.jsx:892 2047 - #: src/components/status.jsx:1334 2043 + #: src/components/status.jsx:888 2044 + #: src/components/status.jsx:1330 2048 2045 msgid "Unboosted @{0}'s post" 2049 2046 msgstr "" 2050 2047 2051 - #: src/components/status.jsx:893 2052 - #: src/components/status.jsx:1335 2048 + #: src/components/status.jsx:889 2049 + #: src/components/status.jsx:1331 2053 2050 msgid "Boosted @{0}'s post" 2054 2051 msgstr "" 2055 2052 2056 2053 #: src/components/status.jsx:901 2057 - msgid "{reblogsCount, plural, =0 {{0}} other {{1}}}" 2058 - msgstr "" 2059 - 2060 - #: src/components/status.jsx:903 2061 2054 msgid "Boost…" 2062 2055 msgstr "" 2063 2056 2064 - #: src/components/status.jsx:914 2065 - msgid "{favouritesCount, plural, =0 {{0}} other {{1}}}" 2066 - msgstr "" 2067 - 2068 - #: src/components/status.jsx:916 2069 - #: src/components/status.jsx:1619 2070 - #: src/components/status.jsx:2332 2057 + #: src/components/status.jsx:913 2058 + #: src/components/status.jsx:1615 2059 + #: src/components/status.jsx:2328 2071 2060 msgid "Unlike" 2072 2061 msgstr "" 2073 2062 2074 - #: src/components/status.jsx:916 2075 - #: src/components/status.jsx:1619 2076 - #: src/components/status.jsx:1620 2077 - #: src/components/status.jsx:2332 2078 - #: src/components/status.jsx:2333 2063 + #: src/components/status.jsx:914 2064 + #: src/components/status.jsx:1615 2065 + #: src/components/status.jsx:1616 2066 + #: src/components/status.jsx:2328 2067 + #: src/components/status.jsx:2329 2079 2068 msgid "Like" 2080 2069 msgstr "" 2081 2070 2082 - #: src/components/status.jsx:927 2083 - #: src/components/status.jsx:2344 2071 + #: src/components/status.jsx:923 2072 + #: src/components/status.jsx:2340 2084 2073 msgid "Unbookmark" 2085 2074 msgstr "" 2086 2075 2087 - #: src/components/status.jsx:1035 2076 + #: src/components/status.jsx:1031 2088 2077 msgid "View post by @{0}" 2089 2078 msgstr "" 2090 2079 2091 - #: src/components/status.jsx:1053 2080 + #: src/components/status.jsx:1049 2092 2081 msgid "Show Edit History" 2093 2082 msgstr "" 2094 2083 2095 - #: src/components/status.jsx:1056 2084 + #: src/components/status.jsx:1052 2096 2085 msgid "Edited: {editedDateText}" 2097 2086 msgstr "" 2098 2087 2099 - #: src/components/status.jsx:1116 2100 - #: src/components/status.jsx:3072 2088 + #: src/components/status.jsx:1112 2089 + #: src/components/status.jsx:3068 2101 2090 msgid "Embed post" 2102 2091 msgstr "" 2103 2092 2104 - #: src/components/status.jsx:1130 2093 + #: src/components/status.jsx:1126 2105 2094 msgid "Conversation unmuted" 2106 2095 msgstr "" 2107 2096 2108 - #: src/components/status.jsx:1130 2097 + #: src/components/status.jsx:1126 2109 2098 msgid "Conversation muted" 2110 2099 msgstr "" 2111 2100 2112 - #: src/components/status.jsx:1136 2101 + #: src/components/status.jsx:1132 2113 2102 msgid "Unable to unmute conversation" 2114 2103 msgstr "" 2115 2104 2116 - #: src/components/status.jsx:1137 2105 + #: src/components/status.jsx:1133 2117 2106 msgid "Unable to mute conversation" 2118 2107 msgstr "" 2119 2108 2120 - #: src/components/status.jsx:1146 2109 + #: src/components/status.jsx:1142 2121 2110 msgid "Unmute conversation" 2122 2111 msgstr "" 2123 2112 2124 - #: src/components/status.jsx:1153 2113 + #: src/components/status.jsx:1149 2125 2114 msgid "Mute conversation" 2126 2115 msgstr "" 2127 2116 2128 - #: src/components/status.jsx:1169 2117 + #: src/components/status.jsx:1165 2129 2118 msgid "Post unpinned from profile" 2130 2119 msgstr "" 2131 2120 2132 - #: src/components/status.jsx:1170 2121 + #: src/components/status.jsx:1166 2133 2122 msgid "Post pinned to profile" 2134 2123 msgstr "" 2135 2124 2136 - #: src/components/status.jsx:1175 2125 + #: src/components/status.jsx:1171 2137 2126 msgid "Unable to unpin post" 2138 2127 msgstr "" 2139 2128 2140 - #: src/components/status.jsx:1175 2129 + #: src/components/status.jsx:1171 2141 2130 msgid "Unable to pin post" 2142 2131 msgstr "" 2143 2132 2144 - #: src/components/status.jsx:1184 2133 + #: src/components/status.jsx:1180 2145 2134 msgid "Unpin from profile" 2146 2135 msgstr "" 2147 2136 2148 - #: src/components/status.jsx:1191 2137 + #: src/components/status.jsx:1187 2149 2138 msgid "Pin to profile" 2150 2139 msgstr "" 2151 2140 2152 - #: src/components/status.jsx:1220 2141 + #: src/components/status.jsx:1216 2153 2142 msgid "Delete this post?" 2154 2143 msgstr "" 2155 2144 2156 - #: src/components/status.jsx:1233 2145 + #: src/components/status.jsx:1229 2157 2146 msgid "Post deleted" 2158 2147 msgstr "" 2159 2148 2160 - #: src/components/status.jsx:1236 2149 + #: src/components/status.jsx:1232 2161 2150 msgid "Unable to delete post" 2162 2151 msgstr "" 2163 2152 2164 - #: src/components/status.jsx:1264 2153 + #: src/components/status.jsx:1260 2165 2154 msgid "Report post…" 2166 2155 msgstr "" 2167 2156 2168 - #: src/components/status.jsx:1620 2169 - #: src/components/status.jsx:1656 2170 - #: src/components/status.jsx:2333 2157 + #: src/components/status.jsx:1616 2158 + #: src/components/status.jsx:1652 2159 + #: src/components/status.jsx:2329 2171 2160 msgid "Liked" 2172 2161 msgstr "" 2173 2162 2174 - #: src/components/status.jsx:1653 2175 - #: src/components/status.jsx:2320 2163 + #: src/components/status.jsx:1649 2164 + #: src/components/status.jsx:2316 2176 2165 msgid "Boosted" 2177 2166 msgstr "" 2178 2167 2179 - #: src/components/status.jsx:1663 2180 - #: src/components/status.jsx:2345 2168 + #: src/components/status.jsx:1659 2169 + #: src/components/status.jsx:2341 2181 2170 msgid "Bookmarked" 2182 2171 msgstr "" 2183 2172 2184 - #: src/components/status.jsx:1667 2173 + #: src/components/status.jsx:1663 2185 2174 msgid "Pinned" 2186 2175 msgstr "" 2187 2176 2188 - #: src/components/status.jsx:1712 2189 - #: src/components/status.jsx:2164 2177 + #: src/components/status.jsx:1708 2178 + #: src/components/status.jsx:2160 2190 2179 msgid "Deleted" 2191 2180 msgstr "" 2192 2181 2193 - #: src/components/status.jsx:1753 2182 + #: src/components/status.jsx:1749 2194 2183 msgid "{repliesCount, plural, one {# reply} other {# replies}}" 2195 2184 msgstr "" 2196 2185 2197 - #: src/components/status.jsx:1842 2186 + #: src/components/status.jsx:1838 2198 2187 msgid "Thread{0}" 2199 2188 msgstr "" 2200 2189 2201 - #: src/components/status.jsx:1918 2202 - #: src/components/status.jsx:1980 2203 - #: src/components/status.jsx:2065 2190 + #: src/components/status.jsx:1914 2191 + #: src/components/status.jsx:1976 2192 + #: src/components/status.jsx:2061 2204 2193 msgid "Show less" 2205 2194 msgstr "" 2206 2195 2207 - #: src/components/status.jsx:1918 2208 - #: src/components/status.jsx:1980 2196 + #: src/components/status.jsx:1914 2197 + #: src/components/status.jsx:1976 2209 2198 msgid "Show content" 2210 2199 msgstr "" 2211 2200 2212 - #: src/components/status.jsx:2065 2201 + #: src/components/status.jsx:2061 2213 2202 msgid "Show media" 2214 2203 msgstr "" 2215 2204 2216 - #: src/components/status.jsx:2185 2205 + #: src/components/status.jsx:2181 2217 2206 msgid "Edited" 2218 2207 msgstr "" 2219 2208 2220 - #: src/components/status.jsx:2262 2209 + #: src/components/status.jsx:2258 2221 2210 msgid "Comments" 2222 2211 msgstr "" 2223 2212 2224 - #: src/components/status.jsx:2833 2213 + #: src/components/status.jsx:2829 2225 2214 msgid "Edit History" 2226 2215 msgstr "" 2227 2216 2228 - #: src/components/status.jsx:2837 2217 + #: src/components/status.jsx:2833 2229 2218 msgid "Failed to load history" 2230 2219 msgstr "" 2231 2220 2232 - #: src/components/status.jsx:2842 2221 + #: src/components/status.jsx:2838 2233 2222 msgid "Loading…" 2234 2223 msgstr "" 2235 2224 2236 - #: src/components/status.jsx:3077 2225 + #: src/components/status.jsx:3073 2237 2226 msgid "HTML Code" 2238 2227 msgstr "" 2239 2228 2240 - #: src/components/status.jsx:3094 2229 + #: src/components/status.jsx:3090 2241 2230 msgid "HTML code copied" 2242 2231 msgstr "" 2243 2232 2244 - #: src/components/status.jsx:3097 2233 + #: src/components/status.jsx:3093 2245 2234 msgid "Unable to copy HTML code" 2246 2235 msgstr "" 2247 2236 2248 - #: src/components/status.jsx:3109 2237 + #: src/components/status.jsx:3105 2249 2238 msgid "Media attachments:" 2250 2239 msgstr "" 2251 2240 2252 - #: src/components/status.jsx:3131 2241 + #: src/components/status.jsx:3127 2253 2242 msgid "Account Emojis:" 2254 2243 msgstr "" 2255 2244 2256 - #: src/components/status.jsx:3162 2257 - #: src/components/status.jsx:3207 2245 + #: src/components/status.jsx:3158 2246 + #: src/components/status.jsx:3203 2258 2247 msgid "static URL" 2259 2248 msgstr "" 2260 2249 2261 - #: src/components/status.jsx:3176 2250 + #: src/components/status.jsx:3172 2262 2251 msgid "Emojis:" 2263 2252 msgstr "" 2264 2253 2265 - #: src/components/status.jsx:3221 2254 + #: src/components/status.jsx:3217 2266 2255 msgid "Notes:" 2267 2256 msgstr "" 2268 2257 2269 - #: src/components/status.jsx:3225 2258 + #: src/components/status.jsx:3221 2270 2259 msgid "This is static, unstyled and scriptless. You may need to apply your own styles and edit as needed." 2271 2260 msgstr "" 2272 2261 2273 - #: src/components/status.jsx:3231 2262 + #: src/components/status.jsx:3227 2274 2263 msgid "Polls are not interactive, becomes a list with vote counts." 2275 2264 msgstr "" 2276 2265 2277 - #: src/components/status.jsx:3236 2266 + #: src/components/status.jsx:3232 2278 2267 msgid "Media attachments can be images, videos, audios or any file types." 2279 2268 msgstr "" 2280 2269 2281 - #: src/components/status.jsx:3242 2270 + #: src/components/status.jsx:3238 2282 2271 msgid "Post could be edited or deleted later." 2283 2272 msgstr "" 2284 2273 2285 - #: src/components/status.jsx:3248 2274 + #: src/components/status.jsx:3244 2286 2275 msgid "Preview" 2287 2276 msgstr "" 2288 2277 2289 - #: src/components/status.jsx:3257 2278 + #: src/components/status.jsx:3253 2290 2279 msgid "Note: This preview is lightly styled." 2291 2280 msgstr "" 2292 2281 2293 - #: src/components/status.jsx:3499 2282 + #: src/components/status.jsx:3495 2294 2283 msgid "<0/> <1/> boosted" 2295 2284 msgstr "" 2296 2285