Skip to content

Commit 80b7e1d

Browse files
committed
fix some spell mistake.
Thanks @wULLSnpAXbWZGYDYyhWTKKspEQoaYxXyhoisqHf
1 parent 260fe61 commit 80b7e1d

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

models/migrations/migrations.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,7 @@ var migrations = []Migration{
296296
NewMigration("Add time_id column to Comment", addTimeIDCommentColumn),
297297
// v174 -> v175
298298
NewMigration("create repo transfer table", addRepoTransfer),
299-
// v155 -> v176
299+
// v175 -> v176
300300
NewMigration("create package table", addPackageTable),
301301
}
302302

models/package.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ func AddPackage(option AddPackageOptions) error {
5959
return err
6060
}
6161

62-
// GetPackage get an package
62+
// GetPackage get a package
6363
func GetPackage(repoID int64, typ PackageType, name string) (*Package, error) {
6464
return getPackage(x, repoID, typ, name)
6565
}

models/unit.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ var (
260260
5,
261261
}
262262

263-
UnitPacages = Unit{
263+
UnitPackages = Unit{
264264
UnitTypePackages,
265265
"repo.packages",
266266
"/packages",
@@ -278,7 +278,7 @@ var (
278278
UnitTypeWiki: UnitWiki,
279279
UnitTypeExternalWiki: UnitExternalWiki,
280280
UnitTypeProjects: UnitProjects,
281-
UnitTypePackages: UnitPacages,
281+
UnitTypePackages: UnitPackages,
282282
}
283283
)
284284

options/locale/locale_en-US.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1958,7 +1958,7 @@ topic.count_prompt = You can not select more than 25 topics
19581958
topic.format_prompt = Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19591959

19601960
packages = packages
1961-
packages.desc = permission unit for third part packages
1961+
packages.desc = permission unit for third party packages
19621962

19631963
[org]
19641964
org_name_holder = Organization Name

0 commit comments

Comments
 (0)