Fix typos

This commit is contained in:
Yatish Mehta 2022-02-26 16:11:52 -08:00
parent a7145511fd
commit 26483334c5
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