Skip to content

Commit 3a0be17

Browse files
committed
Update locales reference
1 parent 782abca commit 3a0be17

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

build.ps1

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,8 @@ function Update-Readme {
271271
$tweaksCount = $itt.database.Tweaks.Count
272272
$quotesCount = (Get-Content -Path ".\static\Database\Quotes.json" | ConvertFrom-Json).Quotes.Count
273273
$settingsCount = $itt.database.Settings.Count
274-
$localesCount = ($itt.database.locales.Controls.PSObject.Properties | Measure-Object).Count
274+
$localesCount = ((Get-Content ".\static\Database\locales.json" -Raw | ConvertFrom-Json).Controls.PSObject.Properties | Measure-Object).Count
275+
275276
# Create a hashtable for placeholders and their replacements
276277
$placeholders = @{
277278
"#{a}" = $applicationsCount

0 commit comments

Comments
 (0)