Skip to content

Instantly share code, notes, and snippets.

@rnewman
Created March 25, 2015 16:26
Show Gist options
  • Save rnewman/5d5e6a30558743d0cde7 to your computer and use it in GitHub Desktop.
Save rnewman/5d5e6a30558743d0cde7 to your computer and use it in GitHub Desktop.
Non-localized strings
Account/FxAClient10.swift:68: let errorString = error.error ?? "Missing error"
Account/FxAClient10.swift:69: let messageString = error.message ?? "Missing message"
Client/Application/AppDelegate.swift:108: let alert = UIAlertView(title: "New version available", message: "There is a new version available of Firefox Aurora. Tap OK to go to the download page.", delegate: self, cancelButtonTitle: "Not Now", otherButtonTitles: "OK")
Client/Application/AppDelegate.swift:159: mailComposer.setSubject("Feedback on iOS client version v\(appVersion) (\(buildNumber))")
Client/Frontend/Browser/BrowserViewController.swift:948: var openNewTabAction = UIAlertAction(title: "Open In New Tab", style: UIAlertActionStyle.Default) { (action: UIAlertAction!) in
Client/Frontend/Browser/BrowserViewController.swift:954: var copyAction = UIAlertAction(title: "Copy", style: UIAlertActionStyle.Default) { (action: UIAlertAction!) -> Void in
Client/Frontend/Browser/BrowserViewController.swift:964: var saveImageAction = UIAlertAction(title: "Save Image", style: UIAlertActionStyle.Default) { (action: UIAlertAction!) -> Void in
Client/Frontend/Browser/BrowserViewController.swift:974: var copyAction = UIAlertAction(title: "Copy Image URL", style: UIAlertActionStyle.Default) { (action: UIAlertAction!) -> Void in
Client/Frontend/Browser/BrowserViewController.swift:981: var cancelAction = UIAlertAction(title: "Cancel", style: UIAlertActionStyle.Cancel, nil)
Client/Frontend/Home/RemoteTabsPanel.swift:96: view.detailTextLabel.text = "Last synced: \(String(client.lastModified))"
Client/Frontend/Home/TopSitesPanel.swift:42: dataSource = TopSitesDataSource(profile: profile, data: Cursor(status: .Failure, msg: "Nothing loaded yet"))
Client/Frontend/Reader/ReaderModeHandlers.swift:63: return GCDWebServerDataResponse(HTML: "There was an error converting the page") // TODO Needs a proper error page
Client/Frontend/Widgets/SiteTableViewController.swift:66: var data: Cursor = Cursor(status: .Success, msg: "No data set")
@thebnich
Copy link

Some others:
/Client/Frontend/Browser/PasswordHelper.swift: SnackButton(title: "Save", callback: { (bar: SnackBar) -> Void in
./Client/Frontend/Browser/PasswordHelper.swift: SnackButton(title: "Not now", callback: { (bar: SnackBar) -> Void in
./Client/Frontend/Browser/PasswordHelper.swift: SnackButton(title: "Update", callback: { (bar: SnackBar) -> Void in
./Client/Frontend/Browser/PasswordHelper.swift: SnackButton(title: "Not now", callback: { (bar: SnackBar) -> Void in
./Client/Frontend/Browser/URLBarView.swift: cancelButton.setTitle("Cancel", forState: UIControlState.Normal)
./Client/Frontend/Widgets/SnackBar.swift: SnackButton(title: "OK", { _ in println("OK") })``
./Client/Frontend/Widgets/SnackBar.swift: SnackButton(title: "OK", { _ in println("OK") }),
./Client/Frontend/Widgets/SnackBar.swift: SnackButton(title: "Cancel", { _ in println("Cancel") }),
./Client/Frontend/Widgets/SnackBar.swift: SnackButton(title: "Maybe", { _ in println("Maybe") })]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment