mirror of
https://github.com/LemmyNet/lemmy-ui.git
synced 2024-11-22 04:11:12 +00:00
parent
fa4695738c
commit
156cfccf34
2 changed files with 3 additions and 3 deletions
|
@ -185,7 +185,7 @@ export class Communities extends Component<any, CommunitiesState> {
|
||||||
{
|
{
|
||||||
i: this,
|
i: this,
|
||||||
communityId: cv.community.id,
|
communityId: cv.community.id,
|
||||||
follow: false,
|
follow: true,
|
||||||
},
|
},
|
||||||
this.handleFollow,
|
this.handleFollow,
|
||||||
)}
|
)}
|
||||||
|
@ -193,7 +193,7 @@ export class Communities extends Component<any, CommunitiesState> {
|
||||||
{
|
{
|
||||||
i: this,
|
i: this,
|
||||||
communityId: cv.community.id,
|
communityId: cv.community.id,
|
||||||
follow: true,
|
follow: false,
|
||||||
},
|
},
|
||||||
this.handleFollow,
|
this.handleFollow,
|
||||||
)}
|
)}
|
||||||
|
|
|
@ -10,7 +10,7 @@ popd
|
||||||
# look for unused translations
|
# look for unused translations
|
||||||
for langfile in lemmy-translations/translations/*.json; do
|
for langfile in lemmy-translations/translations/*.json; do
|
||||||
lang=$(basename $langfile .json)
|
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"
|
echo "Unused language $lang"
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
Loading…
Reference in a new issue