Skip to content

Spelling fixes - #1926

Closed
jsoref wants to merge 1 commit into
schwabe:masterfrom
jsoref:spelling
Closed

jsoref wants to merge 1 commit into
schwabe:masterfrom
jsoref:spelling

Conversation

@jsoref

@jsoref jsoref commented Sep 14, 2026

Copy link
Copy Markdown
Contributor

Upgrade Actions:

  • Use checkout v7
  • Use setup-java v6
  • Use setup-android v4
  • Use upload-artifact v7
  • Use codeql-action v4

Spelling:

  • (tls-cypher suites) DEFAULT:!EXP:!PSK:!SRP:!kRSA
  • ; otherwise,
  • a
  • accidentally
  • added
  • an
  • api....vpn
  • appropriate
  • arbitrary
  • arithmetic
  • assume
  • authentication
  • authenticator
  • authentication
  • auto
  • battery_consumption
  • between
  • bionic
  • building
  • building_configuration
  • certificate
  • certificates
  • changes
  • checkmarshmallowfileimporterror
  • checktorreceiver
  • cipher
  • cipher_dialog_message
  • compatibility
  • connect_slider
  • connected
  • constitutes
  • contributor
  • corresponds
  • credentials
  • custom_connection_options_warning
  • derivative
  • description
  • different
  • discard
  • dnssec
  • ellipse
  • embed
  • exception
  • example
  • executesucmd
  • fall back
  • first
  • generate
  • getlatestdump
  • guarantee
  • have been
  • idea
  • in case,
  • internet-archive: tcp-tcp.html
  • iterated
  • limits
  • lowercase
  • managed
  • management
  • managementcommand
  • marsh
  • marshaledbytes
  • marketing
  • marshalandback
  • marshaling
  • marshalstring
  • matched
  • need
  • net
  • noreplyyet
  • notification
  • notification_title
  • notification_title_notconnect
  • officialdebugkey
  • officialkey
  • onlyfindfileandnullonnotfound
  • openvpn_copyright
  • ovpn3cli
  • parameters
  • parse
  • permission_hint
  • persistent
  • pkcs
  • please note
  • processpwfailed
  • profilename
  • reading
  • reasons
  • reciever
  • relevant
  • remember the
  • resource
  • response
  • separate
  • setconnectedvpnprofiledisconnected
  • shouldbeconnected
  • sliders
  • ssaid
  • state
  • successfully
  • symptom
  • test_algorithms
  • testmarshal
  • testmarshalargs
  • testmarshalstring
  • that
  • time_period_minutes
  • to
  • troublesome
  • unique
  • unknown
  • unmarshal
  • update_ext_alias
  • verbositylevel
  • visibility
  • vpn_authentication
  • warning_custom
  • when
  • workaround
  • workaround,
  • worked around
  • would

Spelling (German):

  • ciphers
  • ip carriers

Spelling (Spanish):

  • aplicación
  • autenticación
  • certificación
  • conexión
  • configuración
  • excepción
  • selección
  • sincronización
  • y
  • wifi

Spelling (Italian):

  • password

Spelling (Romanian):

  • Use Romanian [st]-commas tr/şŞţŢ/șȘțȚ/
  • clipboard
  • tls
  • status

Spelling (Chinese):

  • tls

The commits are individually available in: https://github.com/jsoref/ics-openvpn/commits/spell-check-with-spelling

@jsoref jsoref left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This project let me significantly improve my handling of foreign languages (whether or not the changes are taken).

if (currentNet.getFirstAddress().equals(nextNet.getFirstAddress()) && currentNet.networkMask >= nextNet.networkMask) {
if (currentNet.included == nextNet.included) {
// Included in the next next and same type
// Included in the next net and same type

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was flagged by a duplicate word check. I'm guessing that it's supposed to correspond to the variable name...


@SuppressLint("HardwareIds")
public static String getFakeMacAddrFromSAAID(Context c) {
public static String getFakeMacAddrFromSSAID(Context c) {

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.



}
}

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure what caused this change, but git/github don't like missing EOL at EOF...


/* Samsung has decided to do something strange, on stock Android GET_CONTENT opens the document UI */
/* fist try with documentsui */if (Build.VERSION.SDK_INT <= Build.VERSION_CODES.N) i.setPackage(
/* first try with documentsui */if (Build.VERSION.SDK_INT <= Build.VERSION_CODES.N) i.setPackage(

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I spotted this while looking for other things...

But, it appears to be popular: https://github.com/search?q=%22fist+try%22&type=code

<string name="version_and_later">%s وما بعدها</string>
<string name="tls_cipher_alert_title">فشل الاتصالات مع SSL23_GET_SERVER_HELLO: فشل مصافحة تنبيه sslv3</string>
<string name="tls_cipher_alert">تستخدم إصدارات OpenVPN الأحدث لنظام Android (0.6.29 / مارس 2015) افتراضيًا أكثر أمانًا لمجموعات التشفير المسموح بها (tls-cipher \"DEFAULT:! EXP:! PSK:! SRP:! kRSA\"). لسوء الحظ ، فإن حذف مجموعات التشفير الأقل أمانًا ومجموعات التشفير ، لا سيما حذف مجموعات التشفير التي لا تدعم Perfect Forward Secrecy (Diffie-Hellman) يسبب بعض المشكلات. يحدث هذا عادةً بسبب محاولة حسنة النية ولكنها سيئة التنفيذ لتعزيز أمان TLS من خلال تعيين tls-cipher على الخادم أو بعض أنظمة التشغيل المدمجة مع SSL (مثل MikroTik).\nلحل هذه المشكلة ، قم بتعيين إعدادات tls-cipher على الخادم على افتراض افتراضي مثل tls-cipher \"DEFAULT:! EXP:! PSK:! SRP:! kRSA\". لحل المشكلة على العميل ، قم بإضافة الخيار الافتراضي tls-cipher DEFAULT على عميل Android.</string>
<string name="tls_cipher_alert">تستخدم إصدارات OpenVPN الأحدث لنظام Android (0.6.29 / مارس 2015) افتراضيًا أكثر أمانًا لمجموعات التشفير المسموح بها (tls-cipher \"DEFAULT:!EXP:!PSK:!SRP:!kRSA\"). لسوء الحظ ، فإن حذف مجموعات التشفير الأقل أمانًا ومجموعات التشفير ، لا سيما حذف مجموعات التشفير التي لا تدعم Perfect Forward Secrecy (Diffie-Hellman) يسبب بعض المشكلات. يحدث هذا عادةً بسبب محاولة حسنة النية ولكنها سيئة التنفيذ لتعزيز أمان TLS من خلال تعيين tls-cipher على الخادم أو بعض أنظمة التشغيل المدمجة مع SSL (مثل MikroTik).\nلحل هذه المشكلة ، قم بتعيين إعدادات tls-cipher على الخادم على افتراض افتراضي مثل tls-cipher \"DEFAULT:!EXP:!PSK:!SRP:!kRSA\". لحل المشكلة على العميل ، قم بإضافة الخيار الافتراضي tls-cipher DEFAULT على عميل Android.</string>

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

While working on support for foreign languages, I ran across these items... I'm fairly certain that the underlying content needs a "localization note" since it appears that various localizations have thoroughly corrupted this content (in a number of different ways...).

<string name="building_configration">Construyendo configuracion&#8230;</string>
<string name="netchange_summary">Activando esta opción forzara una reconexión si el estado de la red es cambiado (Ej. De/hacia WIFi
<string name="building_configuration">Construyendo configuracion&#8230;</string>
<string name="netchange_summary">Activando esta opción forzara una reconexión si el estado de la red es cambiado (Ej. De/hacia WiFi

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

WIFi is just wrong.

<string name="ab_only_cidr">Android sólo admite rutas CIDR a la VPN. Desde rutas no CIDR casi nunca se usan, OpenVPN para Android utilizará un / 32 para las rutas que no son CIDR y emitir una advertencia.</string>
<string name="ab_proxy">Android seguirá utilizando la configuración del proxy especificados para la conexión / Wi-Fi móvil cuando no están definidos los servidores DNS. OpenVPN para Android le advertirá sobre esto en el registro.<p>Cuando una VPN establece un servidor DNS Android no lo hará un proxy. No hay ninguna API para configurar un proxy para una conexión VPN.</p></string>
<string name="ab_not_route_to_vpn">La IP del cliente configurado y las IPs en su máscara de red no se enrutan a la VPN. OpenVPN soluciona este error al agregar explícitamente una ruta que corrosponds a la IP del cliente y su máscara de red</string>
<string name="ab_not_route_to_vpn">La IP del cliente configurado y las IPs en su máscara de red no se enrutan a la VPN. OpenVPN soluciona este error al agregar explícitamente una ruta que corresponds a la IP del cliente y su máscara de red</string>

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

corresponde would be the correct word, but that's too much of a change.

Comment thread main/src/ui/res/values-fr/arrays.xml Outdated
<string name="address">Adresa server:</string>
<string name="port">Port server:</string>
<string name="location">Locaţie</string>
<string name="location">Locație</string>

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was a fun lesson, Romanian wants commas for s/t, not cedilla. The localization is inconsistent.

<string name="cancel_connection_query">断开连接的VPN/取消连接尝试?</string>
<string name="remove_vpn">删除VPN</string>
<string name="check_remote_tlscert">检查服务器是否使用 TLS 服务器端扩展 (--remote-cert-tlsserver server)</string>
<string name="check_remote_tlscert">检查服务器是否使用 TLS 服务器端扩展 (--remote-cert-tls server)</string>

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fun error (this was the only real change to this locale -- I don't have a "dictionary" for Chinese ... I've asked around a bit but didn't get beyond that point...

Actions:
- Use checkout v7
- Use setup-java v6
- Use setup-android v4
- Use upload-artifact v7
- Use codeql-action v4

Spelling:
- (tls-cypher suites)
  DEFAULT:!EXP:!PSK:!SRP:!kRSA
- ; otherwise,
- a
- accidentally
- added
- an
- api....vpn
- appropriate
- arbitrary
- arithmetic
- assume
- authentication
- authenticator
- authentication
- auto
- battery_consumption
- between
- bionic
- building
- building_configuration
- certificate
- certificates
- changes
- checkmarshmallowfileimporterror
- checktorreceiver
- cipher
- cipher_dialog_message
- compatibility
- connect_slider
- connected
- constitutes
- contributor
- corresponds
- credentials
- custom_connection_options_warning
- derivative
- description
- different
- discard
- dnssec
- ellipse
- embed
- exception
- example
- executesucmd
- fall back
- first
- generate
- getlatestdump
- guarantee
- have been
- idea
- in case,
- internet-archive: tcp-tcp.html
- iterated
- limits
- lowercase
- managed
- management
- managementcommand
- marsh
- marshaledbytes
- marketing
- marshalandback
- marshaling
- marshalstring
- matched
- need
- net
- noreplyyet
- notification
- notification_title
- notification_title_notconnect
- officialdebugkey
- officialkey
- onlyfindfileandnullonnotfound
- openvpn_copyright
- ovpn3cli
- parameters
- parse
- permission_hint
- persistent
- pkcs
- please note
- processpwfailed
- profilename
- reading
- reasons
- reciever
- relevant
- remember the
- resource
- response
- separate
- setconnectedvpnprofiledisconnected
- shouldbeconnected
- sliders
- ssaid
- state
- successfully
- symptom
- test_algorithms
- testmarshal
- testmarshalargs
- testmarshalstring
- that
- time_period_minutes
- to
- troublesome
- unique
- unknown
- unmarshal
- update_ext_alias
- verbositylevel
- visibility
- vpn_authentication
- warning_custom
- when
- workaround
- workaround,
- worked around
- would

Spelling (German):
- ciphers
- ip carriers

Spelling (Spanish):
- aplicación
- autenticación
- certificación
- conexión
- configuración
- excepción
- selección
- sincronización
- y
- wifi

Spelling (Italian):
- password

Spelling (Romanian):
- Use Romanian [st]-commas
  tr/şŞţŢ/șȘțȚ/
- clipboard
- tls
- status

Spelling (Chinese):
- tls

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
@jsoref

jsoref commented Sep 14, 2026

Copy link
Copy Markdown
Contributor Author

@schwabe

schwabe commented Oct 7, 2026

Copy link
Copy Markdown
Owner

I cherry picked your commit with the following changes:

  • do not change files in the bundled lzo library
  • do not mix changing github action with spelling fixes

@schwabe schwabe closed this Oct 7, 2026
@jsoref
jsoref deleted the spelling branch October 7, 2026 14:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants