Skip to content

Commit

Permalink
Fix account delete dialog not showing "move" option
Browse files Browse the repository at this point in the history
Add translation for Norwegian Bokmal to crowdin config
  • Loading branch information
codinguser committed Oct 30, 2015
1 parent a391676 commit bf7616c
Show file tree
Hide file tree
Showing 39 changed files with 612 additions and 37 deletions.
4 changes: 2 additions & 2 deletions app/build.gradle
Expand Up @@ -5,8 +5,8 @@ apply plugin: 'io.fabric'

def versionMajor = 2
def versionMinor = 0
def versionPatch = 0
def versionBuild = 8
def versionPatch = 1
def versionBuild = 0

def buildTime() {
def df = new SimpleDateFormat("yyyyMMdd HH:mm 'UTC'")
Expand Down
Expand Up @@ -152,7 +152,7 @@ public class AccountsActivity extends BaseDrawerActivity implements OnAccountCli
/**
* Configuration for rating the app
*/
public static RateThisApp.Config rateAppConfig = new RateThisApp.Config(14, 30);;
public static RateThisApp.Config rateAppConfig = new RateThisApp.Config(14, 50);

/**
* Adapter for managing the sub-account and transaction fragment pages in the accounts view
Expand Down
Expand Up @@ -99,6 +99,12 @@ public static DeleteAccountDialogFragment newInstance(String accountUID) {
return fragment;
}

@Override
public void onCreate(@Nullable Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setStyle(DialogFragment.STYLE_NORMAL, R.style.CustomDialog);
}

@Override
public View onCreateView(LayoutInflater inflater, @Nullable ViewGroup container, @Nullable Bundle savedInstanceState) {
View view = inflater.inflate(R.layout.dialog_account_delete, container, false);
Expand Down
Expand Up @@ -103,7 +103,7 @@ public View onCreateView(LayoutInflater inflater, ViewGroup container,
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setStyle(DialogFragment.STYLE_NORMAL, R.style.Theme_AppCompat_Light_Dialog);
setStyle(DialogFragment.STYLE_NORMAL, R.style.CustomDialog);
}

@Override
Expand Down
4 changes: 2 additions & 2 deletions app/src/main/res/layout/radio_group_delete_or_move.xml
Expand Up @@ -48,7 +48,7 @@
android:text="@string/label_move_to" />

<Spinner android:id="@+id/target_accounts_spinner"
android:layout_width="wrap_content"
android:layout_height="wrap_content"/>
android:layout_width="match_parent"
android:layout_height="?android:listPreferredItemHeight"/>

</RadioGroup>
2 changes: 1 addition & 1 deletion app/src/main/res/values-af-rZA/strings.xml
Expand Up @@ -15,7 +15,7 @@
See the License for the specific language governing permissions and
limitations under the License.
-->
<resources>
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
<string name="title_create_account">Create Account</string>
<string name="title_edit_account">Edit Account</string>
<string name="info_details">Info</string>
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/res/values-ar-rSA/strings.xml
Expand Up @@ -15,7 +15,7 @@
See the License for the specific language governing permissions and
limitations under the License.
-->
<resources>
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
<string name="title_create_account">Create Account</string>
<string name="title_edit_account">Edit Account</string>
<string name="info_details">Info</string>
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/res/values-ca-rES/strings.xml
Expand Up @@ -15,7 +15,7 @@
See the License for the specific language governing permissions and
limitations under the License.
-->
<resources>
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
<string name="title_create_account">Crea un compte</string>
<string name="title_edit_account">Edita el compte</string>
<string name="info_details">Informació</string>
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/res/values-cs-rCZ/strings.xml
Expand Up @@ -15,7 +15,7 @@
See the License for the specific language governing permissions and
limitations under the License.
-->
<resources>
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
<string name="title_create_account">Create Account</string>
<string name="title_edit_account">Edit Account</string>
<string name="info_details">Info</string>
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/res/values-da-rDK/strings.xml
Expand Up @@ -15,7 +15,7 @@
See the License for the specific language governing permissions and
limitations under the License.
-->
<resources>
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
<string name="title_create_account">Opprett konto</string>
<string name="title_edit_account">Rediger konto</string>
<string name="info_details">Informasjon</string>
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/res/values-de/strings.xml
Expand Up @@ -15,7 +15,7 @@
See the License for the specific language governing permissions and
limitations under the License.
-->
<resources>
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
<string name="title_create_account">Neues Konto</string>
<string name="title_edit_account">Konto bearbeiten</string>
<string name="info_details">Info</string>
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/res/values-el-rGR/strings.xml
Expand Up @@ -15,7 +15,7 @@
See the License for the specific language governing permissions and
limitations under the License.
-->
<resources>
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
<string name="title_create_account">Δημιουργία Λογαριασμού</string>
<string name="title_edit_account">Επεξεργασία Λογαριασμού</string>
<string name="info_details">Πληροφορίες</string>
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/res/values-en-rGB/strings.xml
Expand Up @@ -15,7 +15,7 @@
See the License for the specific language governing permissions and
limitations under the License.
-->
<resources>
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
<string name="title_create_account">Create Account</string>
<string name="title_edit_account">Edit Account</string>
<string name="info_details">Info</string>
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/res/values-es-rMX/strings.xml
Expand Up @@ -15,7 +15,7 @@
See the License for the specific language governing permissions and
limitations under the License.
-->
<resources>
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
<string name="title_create_account">Crear Cuenta</string>
<string name="title_edit_account">Editar Cuenta</string>
<string name="info_details">Detalles</string>
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/res/values-es/strings.xml
Expand Up @@ -15,7 +15,7 @@
See the License for the specific language governing permissions and
limitations under the License.
-->
<resources>
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
<string name="title_create_account">Crear cuenta</string>
<string name="title_edit_account">Editar cuenta</string>
<string name="info_details">Información</string>
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/res/values-fi-rFI/strings.xml
Expand Up @@ -15,7 +15,7 @@
See the License for the specific language governing permissions and
limitations under the License.
-->
<resources>
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
<string name="title_create_account">Create Account</string>
<string name="title_edit_account">Edit Account</string>
<string name="info_details">Info</string>
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/res/values-fr/strings.xml
Expand Up @@ -15,7 +15,7 @@
See the License for the specific language governing permissions and
limitations under the License.
-->
<resources>
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
<string name="title_create_account">Créer un compte</string>
<string name="title_edit_account">Éditer le compte</string>
<string name="info_details">Informations</string>
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/res/values-hu-rHU/strings.xml
Expand Up @@ -15,7 +15,7 @@
See the License for the specific language governing permissions and
limitations under the License.
-->
<resources>
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
<string name="title_create_account">Create Account</string>
<string name="title_edit_account">Edit Account</string>
<string name="info_details">Info</string>
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/res/values-it-rIT/strings.xml
Expand Up @@ -15,7 +15,7 @@
See the License for the specific language governing permissions and
limitations under the License.
-->
<resources>
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
<string name="title_create_account">Crea conto</string>
<string name="title_edit_account">Modifica conto</string>
<string name="info_details">Informazioni</string>
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/res/values-iw-rIL/strings.xml
Expand Up @@ -15,7 +15,7 @@
See the License for the specific language governing permissions and
limitations under the License.
-->
<resources>
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
<string name="title_create_account">Create Account</string>
<string name="title_edit_account">Edit Account</string>
<string name="info_details">Info</string>
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/res/values-ja-rJP/strings.xml
Expand Up @@ -15,7 +15,7 @@
See the License for the specific language governing permissions and
limitations under the License.
-->
<resources>
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
<string name="title_create_account">Create Account</string>
<string name="title_edit_account">Edit Account</string>
<string name="info_details">Info</string>
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/res/values-ko-rKR/strings.xml
Expand Up @@ -15,7 +15,7 @@
See the License for the specific language governing permissions and
limitations under the License.
-->
<resources>
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
<string name="title_create_account">Create Account</string>
<string name="title_edit_account">Edit Account</string>
<string name="info_details">Info</string>
Expand Down

0 comments on commit bf7616c

Please sign in to comment.