Skip to content

Conversation

@yosebyte
Copy link
Contributor

This pull request primarily removes the use of String(localized:) and the project's .xcstrings localization file, switching all user-facing string initializations to plain string literals. Additionally, it moves the input mode picker in the InstanceFormView from a section in the form to the navigation toolbar for a more streamlined UI.

Localization removal and string handling:

  • Removed all uses of String(localized:) throughout the codebase, changing user-facing strings to plain string literals in UI components such as tab titles, picker options, and dynamically constructed names and aliases. [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] [13] [14] [15] [16] [17] [18]
  • Removed Localizable.xcstrings from the Xcode project, including all references in the project file and build phases. [1] [2] [3] [4] [5]

UI/UX improvements in InstanceFormView:

  • Changed the labels for InputMode from "Form"/"URL" to "Details"/"Command" for improved clarity.
  • Moved the "Input Mode" segmented picker from a form section to the navigation bar's toolbar for a cleaner and more accessible layout, and removed the explanatory section and footer. [1] [2]

- Changed instances of LocalizedStringKey to String for title properties in LabeledTextField and OutlinedBadge.
- Removed String(localized:) calls for static strings in ContentView, ServerListView, ServiceListView, and various service-related views.
- Updated error messages and other strings to use direct string literals instead of localization.
- Deleted the Localizable.xcstrings file as localization is no longer used.
- Adjusted TLSMode enum to reflect the change from "Custom Certificate" to "Trusted Certificate".
- Updated NPCore methods to return direct string literals instead of localized strings.
@yosebyte yosebyte requested a review from hiDandelion January 27, 2026 14:03
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.

1 participant