Merge pull request #727 from yatish27/fix_typos_in_comments

Fix typos
This commit is contained in:
Kailash Nadh 2022-04-03 11:39:07 +05:30 committed by GitHub
commit 7ea523db37
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View file

@ -115,7 +115,7 @@ func handleQuerySubscribers(c echo.Context) error {
out = subsWrap{Results: make([]models.Subscriber, 0, 1)}
)
// Limit the subscribers to sepcific lists?
// Limit the subscribers to specific lists?
listIDs, err := getQueryInts("list_id", c.QueryParams())
if err != nil {
return echo.NewHTTPError(http.StatusBadRequest, app.i18n.T("globals.messages.invalidID"))
@ -198,7 +198,7 @@ func handleExportSubscribers(c echo.Context) error {
query = sanitizeSQLExp(c.FormValue("query"))
)
// Limit the subscribers to sepcific lists?
// Limit the subscribers to specific lists?
listIDs, err := getQueryInts("list_id", c.QueryParams())
if err != nil {
return echo.NewHTTPError(http.StatusBadRequest, app.i18n.T("globals.messages.invalidID"))
@ -591,7 +591,7 @@ func handleBlocklistSubscribersByQuery(c echo.Context) error {
return c.JSON(http.StatusOK, okResp{true})
}
// handleManageSubscriberListsByQuery bulk adds/removes/unsubscribers subscribers
// handleManageSubscriberListsByQuery bulk adds/removes/unsubscribes subscribers
// from one or more lists based on an arbitrary SQL expression.
func handleManageSubscriberListsByQuery(c echo.Context) error {
var (

View file

@ -1,5 +1,5 @@
// i18n is a simple package that translates strings using a language map.
// It mimicks some functionality of the vue-i18n library so that the same JSON
// It mimics some functionality of the vue-i18n library so that the same JSON
// language map may be used in the JS frontend and the Go backend.
package i18n