Browse Source

Userland: Show "Ladybird" instead of "Browser" in titles, menus, etc

While the binary is still called "Browser" for now, let's make it clear
that we're converging on a single name for this application.
Andreas Kling 2 years ago
parent
commit
15211cd753

+ 1 - 1
Base/res/apps/Browser.af

@@ -1,5 +1,5 @@
 [App]
-Name=Browser
+Name=Ladybird
 Executable=/bin/Browser
 Category=Internet
 

+ 1 - 1
Base/res/html/misc/welcome.html

@@ -48,7 +48,7 @@
 </head>
 
 <body background="90s-bg.png">
-    <h1>Welcome to the Serenity Browser!</h1>
+    <h1>Welcome to the Ladybird web browser!</h1>
     <p>This is a very simple browser built on the LibWeb and LibJS engines.</p>
     <p>Your user agent is: <b><span id="ua"></span></b></p>
     <p>This page loaded in <b><span id="loadtime"></span></b> ms</p>

+ 1 - 1
Base/usr/share/man/man1/Applications/Browser.md

@@ -12,7 +12,7 @@ $ Browser [options] [urls]
 
 ## Description
 
-`Browser` is an application used to view the World Wide Web. It is built on top of Serenity's own `LibWeb` and `LibJS` engines, allowing it to render HTML, CSS, and JavaScript.
+Ladybird (`Browser`) is an application used to view the World Wide Web. It is built on top of Serenity's own `LibWeb` and `LibJS` engines, allowing it to render HTML, CSS, and JavaScript.
 
 ## Options
 

+ 1 - 1
Meta/build-root-filesystem.sh

@@ -190,7 +190,7 @@ chown -R 200:200 mnt/home/nona
 echo "done"
 
 printf "adding some desktop icons... "
-ln -sf /bin/Browser mnt/home/anon/Desktop/
+ln -sf /bin/Browser mnt/home/anon/Desktop/Ladybird
 ln -sf /bin/TextEditor mnt/home/anon/Desktop/Text\ Editor
 ln -sf /bin/Help mnt/home/anon/Desktop/
 ln -sf /home/anon mnt/home/anon/Desktop/Home

+ 2 - 2
Userland/Applications/Browser/BrowserWindow.cpp

@@ -68,7 +68,7 @@ BrowserWindow::BrowserWindow(CookieJar& cookie_jar, URL url)
 
     resize(730, 560);
     set_icon(app_icon.bitmap_for_size(16));
-    set_title("Browser");
+    set_title("Ladybird");
 
     auto widget = set_main_widget<GUI::Widget>().release_value_but_fixme_should_propagate_errors();
     widget->load_from_gml(browser_window_gml).release_value_but_fixme_should_propagate_errors();
@@ -571,7 +571,7 @@ void BrowserWindow::set_window_title_for_tab(Tab const& tab)
 {
     auto& title = tab.title();
     auto url = tab.url();
-    set_title(DeprecatedString::formatted("{} - Browser", title.is_empty() ? url.to_deprecated_string() : title));
+    set_title(DeprecatedString::formatted("{} - Ladybird", title.is_empty() ? url.to_deprecated_string() : title));
 }
 
 Tab& BrowserWindow::create_new_tab(URL url, Web::HTML::ActivateTab activate)

+ 1 - 1
Userland/Applications/Browser/WindowActions.cpp

@@ -75,7 +75,7 @@ WindowActions::WindowActions(GUI::Window& window)
         &window));
     m_tab_actions.last()->set_status_tip("Switch to last tab");
 
-    m_about_action = GUI::CommonActions::make_about_action("Browser", GUI::Icon::default_icon("app-browser"sv), &window);
+    m_about_action = GUI::CommonActions::make_about_action("Ladybird", GUI::Icon::default_icon("app-browser"sv), &window);
 
     m_show_bookmarks_bar_action = GUI::Action::create_checkable(
         "&Bookmarks Bar", { Mod_Ctrl, Key_B },