mirror of
https://github.com/LemmyNet/lemmy-ui.git
synced 2024-11-21 22:27:11 +00:00
parent
fa4695738c
commit
156cfccf34
|
@ -185,7 +185,7 @@ export class Communities extends Component<any, CommunitiesState> {
|
|||
{
|
||||
i: this,
|
||||
communityId: cv.community.id,
|
||||
follow: false,
|
||||
follow: true,
|
||||
},
|
||||
this.handleFollow,
|
||||
)}
|
||||
|
@ -193,7 +193,7 @@ export class Communities extends Component<any, CommunitiesState> {
|
|||
{
|
||||
i: this,
|
||||
communityId: cv.community.id,
|
||||
follow: true,
|
||||
follow: false,
|
||||
},
|
||||
this.handleFollow,
|
||||
)}
|
||||
|
|
|
@ -10,7 +10,7 @@ popd
|
|||
# look for unused translations
|
||||
for langfile in lemmy-translations/translations/*.json; do
|
||||
lang=$(basename $langfile .json)
|
||||
if ! grep -q "\"./translations/$lang\"" src/shared/i18next.ts; then
|
||||
if ! grep -q "\"./translations/$lang\"" src/shared/services/I18NextService.ts; then
|
||||
echo "Unused language $lang"
|
||||
fi
|
||||
done
|
||||
|
|
Loading…
Reference in a new issue