Skip to content

Commit

Permalink
[ANCHOR-707] Improve comments of languages in anchor config (#1592)
Browse files Browse the repository at this point in the history
### Description

Right now `languages` in yaml doc is misleading.
This property is the list of supported languages. 

### Testing

- `./gradlew test`
  • Loading branch information
JiahuiWho authored Dec 6, 2024
1 parent 5b2daed commit ff26a78
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -186,8 +186,8 @@ private String constructPostgressUrl(ConfigMap config) {
schema = "public";
}
return String.format(
"jdbc:postgresql://%s/%s?currentSchema=%s",
config.getString("data.server"), config.getString("data.database"), schema);
"jdbc:postgresql://%s/%s?currentSchema=%s",
config.getString("data.server"), config.getString("data.database"), schema);
}

private String constructSQLiteUrl(ConfigMap config) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@ version: 1
##############################

#
# The default language of the application
# A list of languages supported by the anchor for localization content, such as the "moreInfoUrl" in a transaction response.
# When constructing URLs or providing content, one of these languages may be selected based on user preference or availability.
#
# The supported languages defined by RFC4646 (https://datatracker.ietf.org/doc/html/rfc4646)
#
languages: en
Expand Down

0 comments on commit ff26a78

Please sign in to comment.