ISpectJiraLocalization class abstract
Callers can lookup localized strings with an instance of ISpectJiraLocalization
returned by ISpectJiraLocalization.of(context)
.
Applications need to include ISpectJiraLocalization.delegate()
in their app's
localizationDelegates
list, and the locales they support in the app's
supportedLocales
list. For example:
import 'generated/ispect_localizations.dart';
return MaterialApp(
localizationsDelegates: ISpectJiraLocalization.localizationsDelegates,
supportedLocales: ISpectJiraLocalization.supportedLocales,
home: MyApplicationHome(),
);
Update pubspec.yaml
Please make sure to update your pubspec.yaml to include the following packages:
dependencies:
# Internationalization support.
flutter_localizations:
sdk: flutter
intl: any # Use the pinned version from flutter_localizations
# Rest of dependencies
iOS Applications
iOS applications define key application metadata, including supported locales, in an Info.plist file that is built into the application bundle. To configure the locales supported by your app, you’ll need to edit this file.
First, open your project’s ios/Runner.xcworkspace Xcode workspace file. Then, in the Project Navigator, open the Info.plist file under the Runner project’s Runner folder.
Next, select the Information Property List item, select Add Item from the Editor menu, then select Localizations from the pop-up menu.
Select and expand the newly-created Localizations item then, for each locale your application supports, add a new item and select the locale you wish to add from the pop-up menu in the Value field. This list should be consistent with the languages listed in the ISpectJiraLocalization.supportedLocales property.
Constructors
- ISpectJiraLocalization(String locale)
Properties
- addingAttachmentsToIssue → String
-
No description provided for @addingAttachmentsToIssue.
no setter
- addingStatusToIssue → String
-
No description provided for @addingStatusToIssue.
no setter
- apiToken → String
-
No description provided for @apiToken.
no setter
- attachmentsAdded → String
-
No description provided for @attachmentsAdded.
no setter
-
No description provided for @authorize.
no setter
- backToHome → String
-
No description provided for @backToHome.
no setter
- changeProject → String
-
No description provided for @changeProject.
no setter
- copiedToClipboard → String
-
No description provided for @copiedToClipboard.
no setter
- createIssue → String
-
No description provided for @createIssue.
no setter
- createJiraIssue → String
-
No description provided for @createJiraIssue.
no setter
- creatingIssue → String
-
No description provided for @creatingIssue.
no setter
- description → String
-
No description provided for @description.
no setter
- fieldIsRequired → String
-
No description provided for @fieldIsRequired.
no setter
- finished → String
-
No description provided for @finished.
no setter
- fix → String
-
No description provided for @fix.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- issueCreated → String
-
No description provided for @issueCreated.
no setter
- jiraInstruction → String
-
No description provided for @jiraInstruction.
no setter
- localeName → String
-
final
- noData → String
-
No description provided for @noData.
no setter
- pickedImages → String
-
No description provided for @pickedImages.
no setter
- pleaseAuthToJira → String
-
No description provided for @pleaseAuthToJira.
no setter
- pleaseCheckAuthCred → String
-
No description provided for @pleaseCheckAuthCred.
no setter
- pleaseSelectYourProject → String
-
No description provided for @pleaseSelectYourProject.
no setter
- projectDomain → String
-
No description provided for @projectDomain.
no setter
- projectWasSelected → String
-
No description provided for @projectWasSelected.
no setter
- retry → String
-
No description provided for @retry.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- selectAssignee → String
-
No description provided for @selectAssignee.
no setter
- selectBoard → String
-
No description provided for @selectBoard.
no setter
- selectIssueType → String
-
No description provided for @selectIssueType.
no setter
- selectLabel → String
-
No description provided for @selectLabel.
no setter
- selectPriority → String
-
No description provided for @selectPriority.
no setter
- selectSprint → String
-
No description provided for @selectSprint.
no setter
- selectStatus → String
-
No description provided for @selectStatus.
no setter
- sendIssue → String
-
No description provided for @sendIssue.
no setter
- settings → String
-
No description provided for @settings.
no setter
-
No description provided for @share.
no setter
- submitButtonText → String
-
No description provided for @submitButtonText.
no setter
- successfullyAuthorized → String
-
No description provided for @successfullyAuthorized.
no setter
- summary → String
-
No description provided for @summary.
no setter
- uploadImages → String
-
No description provided for @uploadImages.
no setter
- userEmail → String
-
No description provided for @userEmail.
no setter
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
totalFilesCount(
Object number) → String - No description provided for @totalFilesCount.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
of(
BuildContext context) → ISpectJiraLocalization?
Constants
-
delegate
→ const LocalizationsDelegate<
ISpectJiraLocalization> -
localizationsDelegates
→ const List<
LocalizationsDelegate> - A list of this localizations delegate along with the default localizations delegates.
-
supportedLocales
→ const List<
Locale> - A list of this localizations delegate's supported locales.