Permalink
Browse files

Issue #35 : New setting to enable/disable location bar search. String…

…s for all languages are English placeholders until we get translations
  • Loading branch information...
1 parent 39b5913 commit bdc969c0ba8e654766484fabc8ef0805139f10ba @brianking brianking committed Dec 12, 2011
@@ -94,10 +94,23 @@
id="like"
/>
+ <!-- Search in Location Bar -->
+ <preference name="extensions.facebook.awesomebar_search.enabled"
+ type="bool"
+ id="awesome-search"
+ />
+
</preferences>
<groupbox>
<hbox align="center">
+ <checkbox preference="awesome-search"/>
+ <label value="&settings.awesomesearch.enable.label;" class="left-flat"/>
+ </hbox>
+ </groupbox>
+
+ <groupbox>
+ <hbox align="center">
<checkbox preference="like"
disabled="true"/>
<label value="&settings.like.enable.label;" class="left-flat"/>
@@ -36,3 +36,6 @@
<!-- Like -->
<!ENTITY settings.like.enable.label "الزر 'أعجبني'">
<!ENTITY settings.like.more.label "تغيير الإعدادات">
+
+<!-- Location Bar Search -->
+<!ENTITY settings.awesomesearch.enable.label "Enable search in the Firefox location bar">
@@ -36,3 +36,6 @@
<!-- Like -->
<!ENTITY settings.like.enable.label "Synes godt om-knap">
<!ENTITY settings.like.more.label "‎Skift indstillinger">
+
+<!-- Location Bar Search -->
+<!ENTITY settings.awesomesearch.enable.label "Enable search in the Firefox location bar">
@@ -36,3 +36,6 @@
<!-- Like -->
<!ENTITY settings.like.enable.label "‎„Gefällt mir“-Schaltfläche">
<!ENTITY settings.like.more.label "Einstellungen ändern">
+
+<!-- Location Bar Search -->
+<!ENTITY settings.awesomesearch.enable.label "Enable search in the Firefox location bar">
@@ -95,7 +95,7 @@
<hr>
<div class="footer">
- <a href="http://facebook.com">Facebook.com</a>
+ <p id="copyright">Facebook &copy; 2011. </p>
</div>
@@ -36,3 +36,6 @@
<!-- Like -->
<!ENTITY settings.like.enable.label "Like Button">
<!ENTITY settings.like.more.label "Change Setting...">
+
+<!-- Location Bar Search -->
+<!ENTITY settings.awesomesearch.enable.label "Enable search in the Firefox location bar">
@@ -36,3 +36,6 @@
<!-- Like -->
<!ENTITY settings.like.enable.label "‎Botón 'Me gusta'">
<!ENTITY settings.like.more.label "‎Cambiar la configuración">
+
+<!-- Location Bar Search -->
+<!ENTITY settings.awesomesearch.enable.label "Enable search in the Firefox location bar">
@@ -36,3 +36,6 @@
<!-- Like -->
<!ENTITY settings.like.enable.label "‎Botón 'Me gusta'">
<!ENTITY settings.like.more.label "‎Cambiar la configuración">
+
+<!-- Location Bar Search -->
+<!ENTITY settings.awesomesearch.enable.label "Enable search in the Firefox location bar">
@@ -36,3 +36,6 @@
<!-- Like -->
<!ENTITY settings.like.enable.label "‎Bouton J’aime">
<!ENTITY settings.like.more.label "Modifier les paramètres">
+
+<!-- Location Bar Search -->
+<!ENTITY settings.awesomesearch.enable.label "Enable search in the Firefox location bar">
@@ -36,3 +36,6 @@
<!-- Like -->
<!ENTITY settings.like.enable.label "לחצן 'אהבתי'">
<!ENTITY settings.like.more.label "שינוי הגדרות‎">
+
+<!-- Location Bar Search -->
+<!ENTITY settings.awesomesearch.enable.label "Enable search in the Firefox location bar">
@@ -36,3 +36,6 @@
<!-- Like -->
<!ENTITY settings.like.enable.label "‎Tombol Suka‎">
<!ENTITY settings.like.more.label "‎Ubah Pengaturan">
+
+<!-- Location Bar Search -->
+<!ENTITY settings.awesomesearch.enable.label "Enable search in the Firefox location bar">
@@ -36,3 +36,6 @@
<!-- Like -->
<!ENTITY settings.like.enable.label "‎Pulsante 'Mi piace'">
<!ENTITY settings.like.more.label "Modifica impostazioni">
+
+<!-- Location Bar Search -->
+<!ENTITY settings.awesomesearch.enable.label "Enable search in the Firefox location bar">
@@ -36,3 +36,6 @@
<!-- Like -->
<!ENTITY settings.like.enable.label "「いいね!」ボタン">
<!ENTITY settings.like.more.label "設定を変更">
+
+<!-- Location Bar Search -->
+<!ENTITY settings.awesomesearch.enable.label "Enable search in the Firefox location bar">
@@ -36,3 +36,6 @@
<!-- Like -->
<!ENTITY settings.like.enable.label "‎Knop 'Vind ik leuk'‎">
<!ENTITY settings.like.more.label "Instellingen wijzigen">
+
+<!-- Location Bar Search -->
+<!ENTITY settings.awesomesearch.enable.label "Enable search in the Firefox location bar">
@@ -36,3 +36,6 @@
<!-- Like -->
<!ENTITY settings.like.enable.label "Botão Curtir">
<!ENTITY settings.like.more.label "‎Alterar configurações">
+
+<!-- Location Bar Search -->
+<!ENTITY settings.awesomesearch.enable.label "Enable search in the Firefox location bar">
@@ -60,3 +60,6 @@ inbyggda Firefox-meddelanden (på Mac OS X används Growl)">
<!-- Like -->
<!ENTITY settings.like.enable.label "‎Gilla-knapp">
<!ENTITY settings.like.more.label "‎Ändra inställningar">
+
+<!-- Location Bar Search -->
+<!ENTITY settings.awesomesearch.enable.label "Enable search in the Firefox location bar">
@@ -36,3 +36,6 @@
<!-- Like -->
<!ENTITY settings.like.enable.label "‎Beğen Düğmesi">
<!ENTITY settings.like.more.label "‎Ayarları Değiştir">
+
+<!-- Location Bar Search -->
+<!ENTITY settings.awesomesearch.enable.label "Enable search in the Firefox location bar">
@@ -36,3 +36,6 @@
<!-- Like -->
<!ENTITY settings.like.enable.label "Like">
<!ENTITY settings.like.more.label "Change Setting...">
+
+<!-- Location Bar Search -->
+<!ENTITY settings.awesomesearch.enable.label "Enable search in the Firefox location bar">
@@ -36,3 +36,6 @@
<!-- Like -->
<!ENTITY settings.like.enable.label "「讚」鈕">
<!ENTITY settings.like.more.label "‎更改设置">
+
+<!-- Location Bar Search -->
+<!ENTITY settings.awesomesearch.enable.label "Enable search in the Firefox location bar">
@@ -36,3 +36,6 @@
<!-- Like -->
<!ENTITY settings.like.enable.label "「讚」鈕">
<!ENTITY settings.like.more.label "更改設定">
+
+<!-- Location Bar Search -->
+<!ENTITY settings.awesomesearch.enable.label "Enable search in the Firefox location bar">
@@ -38,3 +38,4 @@ pref("extensions.facebook.permissions.asked", false);
// toolbar search type "friendsonly", "graphapi", "extensionservice"
pref("extensions.facebook.toolbar_search_method", "friendsonly");
pref("extensions.facebook.awesomebar_search_method", "extensionservice");
+pref("extensions.facebook.awesomebar_search.enabled", true);

0 comments on commit bdc969c

Please sign in to comment.